Remove overlay font command line arg
Made irrelevant by the config option, why waste 'e' on it.
This commit is contained in:
parent
59c3ecd9c2
commit
5ffe450e06
|
@ -58,9 +58,6 @@ Options
|
||||||
*-n* <path|index>::
|
*-n* <path|index>::
|
||||||
Start with the given path, or index selected.
|
Start with the given path, or index selected.
|
||||||
|
|
||||||
*-e* <font_name>::
|
|
||||||
Set the overlay's font name.
|
|
||||||
|
|
||||||
*-b* <background>::
|
*-b* <background>::
|
||||||
Set the background colour. Can either be a 6-digit hexadecimal colour code
|
Set the background colour. Can either be a 6-digit hexadecimal colour code
|
||||||
or 'checks' to show a chequered background.
|
or 'checks' to show a chequered background.
|
||||||
|
|
|
@ -380,7 +380,7 @@ bool imv_parse_args(struct imv *imv, int argc, char **argv)
|
||||||
|
|
||||||
int o;
|
int o;
|
||||||
|
|
||||||
while((o = getopt(argc, argv, "frdxhlu:s:n:b:e:t:")) != -1) {
|
while((o = getopt(argc, argv, "frdxhlu:s:n:b:t:")) != -1) {
|
||||||
switch(o) {
|
switch(o) {
|
||||||
case 'f': imv->fullscreen = true; break;
|
case 'f': imv->fullscreen = true; break;
|
||||||
case 'r': imv->recursive_load = true; break;
|
case 'r': imv->recursive_load = true; break;
|
||||||
|
@ -388,7 +388,6 @@ bool imv_parse_args(struct imv *imv, int argc, char **argv)
|
||||||
case 'x': imv->loop_input = false; break;
|
case 'x': imv->loop_input = false; break;
|
||||||
case 'l': imv->list_files_at_exit = true; break;
|
case 'l': imv->list_files_at_exit = true; break;
|
||||||
case 'n': imv->starting_path = optarg; break;
|
case 'n': imv->starting_path = optarg; break;
|
||||||
case 'e': imv->font_name = strdup(optarg); break;
|
|
||||||
case 'h':
|
case 'h':
|
||||||
fprintf(stdout,
|
fprintf(stdout,
|
||||||
"imv %s\n"
|
"imv %s\n"
|
||||||
|
|
Loading…
Reference in a new issue