From 42ca97df0f9c96a7037e5ed98629334397ac5053 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 9 Jan 2021 13:02:16 +0100 Subject: Rename --windowid to --window-id; add usage warning to documentation --- src/help.raw | 2 +- src/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/help.raw b/src/help.raw index 2369c8d..1846908 100644 --- a/src/help.raw +++ b/src/help.raw @@ -100,7 +100,7 @@ OPTIONS --scroll-step COUNT scroll COUNT pixels when movement key is pressed --cache-size NUM imlib cache size in mebibytes (0 .. 2048) --auto-reload automatically reload shown image if file was changed - --windowid Draw to an existing X11 window by its ID + --window-id Draw to an existing X11 window by its ID MONTAGE MODE OPTIONS -X, --ignore-aspect Set thumbnail to specified width/height without diff --git a/src/options.c b/src/options.c index aa9d4c8..0bc1a5e 100644 --- a/src/options.c +++ b/src/options.c @@ -433,7 +433,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) #endif {"class" , 1, 0, 249}, {"no-conversion-cache", 0, 0, 250}, - {"windowid", 1, 0, 251}, + {"window-id", 1, 0, 251}, {0, 0, 0, 0} }; int optch = 0, cmdx = 0; -- cgit v1.2.3