From: FeRD (Frank Dana) Date: Mon, 9 May 2022 11:31:13 +0000 (-0400) Subject: hardlink: Move -c option in --help X-Git-Tag: v2.39-rc1~664^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bae5e04f6b6d5f4d7b3d7c57c94ea6b5ee8dc22c;p=thirdparty%2Futil-linux.git hardlink: Move -c option in --help The new placement mirrors its position in the manpage, and keeps it grouped with the individual flags for which it acts as a shorthand. Signed-off-by: FeRD (Frank Dana) --- diff --git a/misc-utils/hardlink.c b/misc-utils/hardlink.c index 08af2882c1..0f1c726c64 100644 --- a/misc-utils/hardlink.c +++ b/misc-utils/hardlink.c @@ -1127,6 +1127,7 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -p, --ignore-mode ignore changes of file mode\n"), out); fputs(_(" -o, --ignore-owner ignore owner changes\n"), out); fputs(_(" -t, --ignore-time ignore timestamps (when testing for equality)\n"), out); + fputs(_(" -c, --content compare only file contents, same as -pot\n"), out); #ifdef USE_XATTR fputs(_(" -X, --respect-xattrs respect extended attributes\n"), out); #endif @@ -1145,7 +1146,6 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -S, --maximum-size maximum size for files.\n"), out); fputs(_(" -b, --io-size I/O buffer size for file reading (speedup, using more RAM)\n"), out); fputs(_(" -r, --cache-size memory limit for cached file content data\n"), out); - fputs(_(" -c, --content compare only file contents, same as -pot\n"), out); fputs(USAGE_SEPARATOR, out); printf(USAGE_HELP_OPTIONS(28));