]> 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)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2022 15:40:01 +0000 (17:40 +0200)
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 dd55af12aab7903e6025d0a39ea020c2400300e8..4123f33a2a3ebe35d0f7c9055a8484d01f4ae58c 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));