summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorFelix Crux <crux@google.com>2011-11-03 17:49:28 -0400
committerFelix Crux <crux@google.com>2011-11-03 17:49:28 -0400
commit4a575061628db48c8043d3083b34ce5cf335c018 (patch)
tree58e061d4fbe69d1fc241ec89dd81188f8a7e7798 /src/options.c
parent476f50ab454e6b8043149fc34313fcc771c7b555 (diff)
Chaning the name of the option to suppress .fehbg
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.c b/src/options.c
index e59adf6..7984439 100644
--- a/src/options.c
+++ b/src/options.c
@@ -390,7 +390,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"thumb-redraw" , 1, 0, 'J'},
{"info" , 1, 0, 234},
{"force-aliasing", 0, 0, 235},
- {"bg-no-bgfile" , 0, 0, 236},
+ {"no-fehbg" , 0, 0, 236},
{0, 0, 0, 0}
};
@@ -705,7 +705,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.force_aliasing = 1;
break;
case 236:
- opt.no_bgfile = 1;
+ opt.no_fehbg = 1;
break;
default:
break;
@@ -764,8 +764,8 @@ static void check_options(void)
eprintf("You cannot combine --loadable with --unloadable");
}
- if (opt.no_bgfile && !opt.bgmode) {
- weprintf("The --no-bg-file option is meaningless unless you\n"
+ if (opt.no_fehbg && !opt.bgmode) {
+ weprintf("The --no-fehbg option is meaningless unless you\n"
"are setting a background wallpaper image.\n"
"It is being ignored.");
}