diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | man/feh.pre | 2 | ||||
-rw-r--r-- | src/help.raw | 2 | ||||
-rw-r--r-- | src/options.c | 6 |
4 files changed, 6 insertions, 5 deletions
@@ -2,6 +2,7 @@ git HEAD * Patch by Stefan Mark: Add --bg-max (scaled with borders) * Removed rather obscure --bg-seamless mode + * Short option -Y for --hide-pointer Tue, 24 Aug 2010 19:23:36 +0200 Daniel Friesel <derf@chaosdorf.de> diff --git a/man/feh.pre b/man/feh.pre index feadd3d..787d775 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -191,7 +191,7 @@ by clicking the zoom button. .It Cm -h , --help display help output and exit. . -.It Cm --hide-pointer +.It Cm -Y , --hide-pointer Hide the pointer .Pq useful for slideshows etc . . diff --git a/src/help.raw b/src/help.raw index 6d872da..7d0b22d 100644 --- a/src/help.raw +++ b/src/help.raw @@ -108,7 +108,7 @@ OPTIONS any mode -- just use the button (default=off). --no-xinerama Disable Xinerama support --no-screen-clip Do not limit window size to screen size - --hide-pointer Hide the pointer + -Y, --hide-pointer Hide the pointer MONTAGE MODE OPTIONS -X, --ignore-aspect Set thumbnail to specified width/height without diff --git a/src/options.c b/src/options.c index 08482ea..89fbe62 100644 --- a/src/options.c +++ b/src/options.c @@ -316,7 +316,7 @@ char *feh_string_normalize(char *str) static void feh_parse_option_array(int argc, char **argv) { static char stropts[] = - "a:A:b:B:cC:dD:e:E:f:Fg:GhH:iIj:J:kK:lL:mM:nNo:O:pPqQrR:sS:tT:uUvVwW:xXy:zZ" + "a:A:b:B:cC:dD:e:E:f:Fg:GhH:iIj:J:kK:lL:mM:nNo:O:pPqQrR:sS:tT:uUvVwW:xXy:YzZ" "0:1:2:4:5:8:9:.@:^:~:):|:_:+:"; static struct option lopts[] = { {"help" , 0, 0, 'h'}, @@ -348,7 +348,7 @@ static void feh_parse_option_array(int argc, char **argv) {"builtin" , 0, 0, 'Q'}, {"scale-down" , 0, 0, '.'}, {"no-jump-on-resort", 0, 0, 220}, - {"hide-pointer" , 0, 0, 221}, + {"hide-pointer" , 0, 0, 'Y'}, {"draw-actions" , 0, 0, 'G'}, {"cache-thumbnails", 0, 0, 'P'}, {"cycle-once" , 0, 0, 224}, @@ -725,7 +725,7 @@ static void feh_parse_option_array(int argc, char **argv) case 220: opt.jump_on_resort = 0; break; - case 221: + case 'Y': opt.hide_pointer = 1; break; case 'G': |