diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-22 14:27:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-22 14:27:43 +0100 |
commit | 2e1275371efe83c34332bfcd75af3ba1c36c9fc1 (patch) | |
tree | 1c1a1d34029890c4846342074084bbfa6a83fe50 /overlay | |
parent | c6e26e47e139ba38fd746daa36ca982908b46840 (diff) |
overlay: Fix -G (--geometry) parsing
For shortops to getops_long() you have to remember to specify them.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c index 3c0dbb44..b726588d 100644 --- a/overlay/overlay.c +++ b/overlay/overlay.c @@ -862,7 +862,7 @@ int main(int argc, char **argv) config_init(&config); opterr = 0; - while ((i = getopt_long(argc, argv, "c:fhn?", long_options, &index)) != -1) { + while ((i = getopt_long(argc, argv, "c:G:fhn?", long_options, &index)) != -1) { switch (i) { case 'c': config_parse_string(&config, optarg); |