]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fadvise: fix parsing of option -V
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 25 Dec 2022 13:23:34 +0000 (13:23 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 28 Dec 2022 04:52:15 +0000 (04:52 +0000)
misc-utils/fadvise.c

index 2590bb01961bcb171e851bef7b9bb67fc3aad2d9..54f23f63eca235701cd11aa074e7900fa89bd346 100644 (file)
@@ -93,7 +93,7 @@ int main(int argc, char ** argv)
        bindtextdomain(PACKAGE, LOCALEDIR);
        textdomain(PACKAGE);
 
-       while ((c = getopt_long (argc, argv, "a:d:hl:o:", longopts, NULL)) != -1) {
+       while ((c = getopt_long (argc, argv, "a:d:hl:o:V", longopts, NULL)) != -1) {
                switch (c) {
                case 'a':
                        break;