diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-29 13:56:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-29 13:56:37 +0100 |
commit | 4af2eacca3001605274e2986fbbad3695efe715a (patch) | |
tree | 24fd4ffc5a4cef9a2937810bfe1d189bdff209d1 | |
parent | 4de4368aee922b0ec105b7febc3369a165dece8f (diff) |
Deprecate --menu-style
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | man/feh.pre | 5 | ||||
-rw-r--r-- | src/help.raw | 1 | ||||
-rw-r--r-- | src/options.c | 1 | ||||
-rw-r--r-- | test/status | 5 |
5 files changed, 2 insertions, 11 deletions
@@ -2,6 +2,7 @@ git HEAD * Add --zoom fill as equivalent for --auto-zoom * Add --zoom max (zooming like in --bg-max) + * --menu-style is now deprecated Wed, 26 Jan 2011 21:07:19 +0100 diff --git a/man/feh.pre b/man/feh.pre index 0b4a6c7..b1dc359 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -267,11 +267,6 @@ Use .Pq truetype, with size, like Qq yudit/12 as menu font. . -.It Cm --menu-style Ar file -Read -.Ar file -to determine menu style. -. .It Cm -m , --montage Enable montage mode. Montage mode creates a new image consisting of a grid of thumbnails of the images in the filelist. When montage mode is selected, diff --git a/src/help.raw b/src/help.raw index 4f5eef1..956516e 100644 --- a/src/help.raw +++ b/src/help.raw @@ -78,7 +78,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-style FILE Use FILE as the style descriptor for menu text. -), --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 diff --git a/src/options.c b/src/options.c index 6427597..caa9aa4 100644 --- a/src/options.c +++ b/src/options.c @@ -692,6 +692,7 @@ static void feh_parse_option_array(int argc, char **argv) case 204: free(opt.menu_style); opt.menu_style = estrdup(optarg); + weprintf("--menu-style is deprecated and will be removed soon"); break; case 205: if (!strcmp("fill", optarg)) diff --git a/test/status b/test/status index 5ae80da..aa66672 100644 --- a/test/status +++ b/test/status @@ -208,11 +208,6 @@ Overall test status, what's covered / missing [ ] changes menu font ---menu-style - - to be deprecated - - --montage --multiwindow |