summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-03-09 17:07:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-03-09 17:07:52 +0100
commite522c4ea04e9d899907deb5d0304f7de0823e9da (patch)
tree8b93d0deff02a8bf2732b86cb074d64dae0abecc /src/options.c
parent81963c7b44194be63479299f217e97e2d0c48db5 (diff)
rename --inner-geometry to --offset, discard width and height values
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c
index 0db5aae..bc95604 100644
--- a/src/options.c
+++ b/src/options.c
@@ -416,7 +416,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"no-recursive" , 0, 0, 241},
{"cache-size" , 1, 0, 243},
{"version-sort" , 0, 0, 246},
- {"inner-geometry", 1, 0, 247},
+ {"offset" , 1, 0, 247},
{0, 0, 0, 0}
};
int optch = 0, cmdx = 0;
@@ -786,8 +786,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.version_sort = 1;
break;
case 247:
- opt.inner_geom_flags = XParseGeometry(optarg, &opt.inner_geom_x,
- &opt.inner_geom_y, &opt.inner_geom_w, &opt.inner_geom_h);
+ opt.offset_flags = XParseGeometry(optarg, &opt.offset_x,
+ &opt.offset_y, (unsigned int *)&discard, (unsigned int *)&discard);
break;
default:
break;