]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (lsfd) improve the help messages of test_mkfds helper command
authorMasatake YAMATO <yamato@redhat.com>
Sat, 26 Feb 2022 17:42:52 +0000 (02:42 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sat, 26 Feb 2022 17:42:52 +0000 (02:42 +0900)
The change notifies users that -I, --parameters option takes a
factory name.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c

index bb4fe882a3e99037cceeba9304be1eb151a95734..12b814f378bf5a3398ab78b764494d38226c9bf8 100644 (file)
@@ -44,11 +44,11 @@ static void __attribute__((__noreturn__)) usage(FILE *out, int status)
        fprintf(out, _(" %s [options] FACTORY FD... [PARAM=VAL...]\n"), program_invocation_short_name);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -l, --list           list available file descriptor factories and exit\n"), out);
-       fputs(_(" -I, --parameters     list parameters the factory takes\n"), out);
-       fputs(_(" -r, --comm <name>    rename self\n"), out);
-       fputs(_(" -q, --quiet          don't print pid(s)\n"), out);
-       fputs(_(" -c, --dont-pause     don't pause after making fd(s)\n"), out);
+       fputs(_(" -l, --list                    list available file descriptor factories and exit\n"), out);
+       fputs(_(" -I, --parameters <factory>    list parameters the factory takes\n"), out);
+       fputs(_(" -r, --comm <name>             rename self\n"), out);
+       fputs(_(" -q, --quiet                   don't print pid(s)\n"), out);
+       fputs(_(" -c, --dont-pause              don't pause after making fd(s)\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
        fputs(_("Examples:\n"), out);