From 62d0331156461884fdf8d5fdcaedc96ba6de774e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 27 Apr 2011 07:55:56 +0200 Subject: Deprecate --menu-bg option (closes #27) --- src/help.raw | 1 - src/options.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3