]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
rev: add --zero option to --help output
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 8 Sep 2025 19:48:01 +0000 (15:48 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 8 Sep 2025 19:48:19 +0000 (15:48 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
text-utils/rev.c

index 4c2357a7e241b500d413550875522250b3283b83..3b27fdbbf92c02eec66a10f02715a3e5e2d1445c 100644 (file)
@@ -80,6 +80,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Reverse lines characterwise.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
+       fputs(_(" -0, --zero     use the NUL byte as line separator\n"), out);
        fprintf(out, USAGE_HELP_OPTIONS(16));
        fprintf(out, USAGE_MAN_TAIL("rev(1)"));