From: Masatake YAMATO Date: Fri, 15 Oct 2021 01:28:09 +0000 (+0900) Subject: lsfd: (helper) update examples in the help message X-Git-Tag: v2.38-rc1~144^2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dfd6614b56046a5c16da0efd7c111597ef9665a;p=thirdparty%2Futil-linux.git lsfd: (helper) update examples in the help message Signed-off-by: Masatake YAMATO --- diff --git a/tests/helpers/test_mkfds.c b/tests/helpers/test_mkfds.c index 2af66bdbb9..67ecc417e0 100644 --- a/tests/helpers/test_mkfds.c +++ b/tests/helpers/test_mkfds.c @@ -46,9 +46,9 @@ static void __attribute__((__noreturn__)) usage(FILE *out, int status) fputs(USAGE_SEPARATOR, out); fputs(_("Examples:\n"), out); - fprintf(out, _(" %s ro-regular-file 3 using 3, open an regular file\n"), + fprintf(out, _("Using 3, open /etc/group:\n\n $ %s ro-regular-file 3 file=/etc/group\n\n"), program_invocation_short_name); - fprintf(out, _(" %s pipe-no-fork 3 4 using 3 and 4, make a pair\n"), + fprintf(out, _("Using 3 and 4, make a pipe:\n\n $ %s pipe-no-fork 3 4\n\n"), program_invocation_short_name); exit(status);