commit: 9834f2bfe9f7fbd9260dda1f242dfecc1e209d87
parent 401bb4a456973e1185e670963d2fe5c2423626fc
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 25 Jul 2025 04:17:06 +0200
cmd/shuf: update usage
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cmd/shuf.c b/cmd/shuf.c
@@ -84,7 +84,11 @@ shuf(FILE *in, const char *fname)
static void
usage(void)
{
- fputs("Usage: shuf [-z] [files...]\n", stderr);
+ fputs("\
+Usage: shuf [-z] [-n num] [files...]\n\
+ shuf -e [-z] [-n num] [string...]\n\
+",
+ stderr);
}
int