summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-19 13:53:41 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-19 13:53:41 +0200
commitb54e5c96c985856ebb578f45317dd0e47142a685 (patch)
tree2fc45a8d2e34331c1dd797dc6d793368ae6cb798 /src
parent2da6081818b6a71646ef463ddb2670909390a145 (diff)
Rename --screen-clip to --no-screen-clip, the default cannot be changed
Diffstat (limited to 'src')
-rw-r--r--src/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c
index e2e9c05..d017cad 100644
--- a/src/options.c
+++ b/src/options.c
@@ -373,7 +373,7 @@ static void feh_parse_option_array(int argc, char **argv)
{"bg-seamless", 1, 0, 203},
{"menu-style", 1, 0, 204},
{"zoom", 1, 0, 205},
- {"screen-clip", 1, 0, 206},
+ {"no-screen-clip", 0, 0, 206},
{"menu-border", 1, 0, 207},
{"caption-path", 1, 0, 208},
{"action1", 1, 0, 209},
@@ -667,7 +667,7 @@ static void feh_parse_option_array(int argc, char **argv)
opt.default_zoom = atoi(optarg);
break;
case 206:
- opt.screen_clip = atoi(optarg);
+ opt.screen_clip = 0;
break;
case 207:
opt.menu_border = atoi(optarg);
@@ -1028,7 +1028,7 @@ static void show_usage(void)
" any mode -- just use the button (default=off).\n"
" --no-xinerama Disable Xinerama support. Only useful if\n"
" you have Xinerama compiled in.\n"
-" --screen-clip [0|1] Enable/disable window clipping based on screen\n"
+" --no-screen-clip Disable window clipping based on screen\n"
" size. WARNING: with this option disabled,\n"
" image windows could become very large, making\n"
" them unmanageable in certain window managers.\n"