aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-30 21:57:01 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-30 21:57:01 +0000
commit5ffe450e06ac5fef981585b720b399be1a2f65b2 (patch)
treee7933e87b34d00c1b3e34dbe8bf0c3775e652442 /src
parent59c3ecd9c2af75b6404e2b4e52369c4b125f401e (diff)
downloadimv-5ffe450e06ac5fef981585b720b399be1a2f65b2.tar.gz
Remove overlay font command line arg
Made irrelevant by the config option, why waste 'e' on it.
Diffstat (limited to 'src')
-rw-r--r--src/imv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/imv.c b/src/imv.c
index 4f8c552..e892469 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -380,7 +380,7 @@ bool imv_parse_args(struct imv *imv, int argc, char **argv)
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) {
case 'f': imv->fullscreen = 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 'l': imv->list_files_at_exit = true; break;
case 'n': imv->starting_path = optarg; break;
- case 'e': imv->font_name = strdup(optarg); break;
case 'h':
fprintf(stdout,
"imv %s\n"