]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hardlink: Move -c option in --help
authorFeRD (Frank Dana) <ferdnyc@gmail.com>
Mon, 9 May 2022 11:31:13 +0000 (07:31 -0400)
committerFeRD (Frank Dana) <ferdnyc@gmail.com>
Mon, 9 May 2022 11:32:25 +0000 (07:32 -0400)
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) <ferdnyc@gmail.com>
misc-utils/hardlink.c

index 08af2882c1359e41fba37377a08c9a18647b0f9f..0f1c726c64fe9f95d259e03adb6964c90d0dbb1b 100644 (file)
@@ -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 <size>  maximum size for files.\n"), out);
        fputs(_(" -b, --io-size <size>       I/O buffer size for file reading (speedup, using more RAM)\n"), out);
        fputs(_(" -r, --cache-size <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));