From 0dfd6614b56046a5c16da0efd7c111597ef9665a Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Fri, 15 Oct 2021 10:28:09 +0900 Subject: [PATCH] lsfd: (helper) update examples in the help message Signed-off-by: Masatake YAMATO --- tests/helpers/test_mkfds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3