summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-27 07:55:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-27 07:55:56 +0200
commit62d0331156461884fdf8d5fdcaedc96ba6de774e (patch)
treee485628a1251936b41f5f6a9ba9be4bdf7bdfafd /src
parent0f92ef265ddf0c98c263a099466043ae2c762255 (diff)
Deprecate --menu-bg option (closes #27)
Diffstat (limited to 'src')
-rw-r--r--src/help.raw1
-rw-r--r--src/options.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/help.raw b/src/help.raw
index 93d636f..bbe5e37 100644
--- a/src/help.raw
+++ b/src/help.raw
@@ -77,7 +77,6 @@ OPTIONS
-C, --fontpath PATH Specify an extra directory to look in for fonts,
can be used multiple times to add multiple paths.
-M, --menu-font FONT Use FONT for the font in menus.
- -), --menu-bg BG Use BG for the background image in menus.
-B, --image-bg STYLE Set background for transparent images and the like.
Accepted values: white, black, default
-N, --no-menus Don't load or show any menus.
diff --git a/src/options.c b/src/options.c
index e7be48e..de72429 100644
--- a/src/options.c
+++ b/src/options.c
@@ -607,6 +607,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case ')':
free(opt.menu_bg);
opt.menu_bg = estrdup(optarg);
+ weprintf("The --menu-bg option is deprecated and will be removed by 2012");
break;
case 'B':
free(opt.image_bg);
@@ -688,7 +689,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case 204:
free(opt.menu_style);
opt.menu_style = estrdup(optarg);
- weprintf("--menu-style is deprecated and will be removed soon");
+ weprintf("The --menu-style option is deprecated and will be removed by 2012");
break;
case 205:
if (!strcmp("fill", optarg))