]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
- update docs to describe highest verbosity -vv option (#210816)
authorJindrich Novy <jnovy@fedoraproject.org>
Sun, 29 Oct 2006 07:19:35 +0000 (07:19 +0000)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 12 Jun 2018 12:23:35 +0000 (14:23 +0200)
- use dist Resolves: 210816

misc-utils/hardlink.1
misc-utils/hardlink.c

index 7ffc2b4604dd26edbe6728b6b67f6ca03e630781..09fd7ac905129a6ee5a15a106538657c5cd14293 100644 (file)
@@ -3,7 +3,7 @@
 hardlink \- Consolidate duplicate files via hardlinks
 .SH "SYNOPSIS"
 .PP
-\fBhardlink\fP [\fB-c\fP] [\fB-n\fP] [\fB-v\fP] [\fB-h\fP] directory1 [ directory2 ... ]
+\fBhardlink\fP [\fB-c\fP] [\fB-n\fP] [\fB-v\fP] [\fB-vv\fP] [\fB-h\fP] directory1 [ directory2 ... ]
 .SH "DESCRIPTION"
 .PP
 This manual page documents \fBhardlink\fP, a 
@@ -27,7 +27,9 @@ Disregards permission, ownership and other differences.
 .IP "\fB-n\fP" 10
 Do not perform the consolidation; only print what would be changed.
 .IP "\fB-v\fP" 10
-Enable verbose logging.
+Print summary after hardlinking.
+.IP "\fB-vv\fP" 10
+Print every hardlinked file and bytes saved. Also print summary after hardlinking.
 .IP "\fB-h\fP" 10
 Show help.
 .SH "AUTHOR"
index 4625f1ea3a0fa35b8181aa99097b792aa349f096..a07d90c168125a11a6ece4d7faeda1d56e58bfa9 100644 (file)
@@ -100,7 +100,8 @@ void usage(char *prog)
   fprintf (stderr, "Usage: %s [-cnvh] directories...\n", prog);
   fprintf (stderr, "  -c    When finding candidates for linking, compare only file contents.\n");
   fprintf (stderr, "  -n    Don't actually link anything, just report what would be done.\n");
-  fprintf (stderr, "  -v    Operate in verbose mode.\n");
+  fprintf (stderr, "  -v    Print summary after hardlinking.\n");
+  fprintf (stderr, "  -vv   Print every hardlinked file and bytes saved + summary.\n");
   fprintf (stderr, "  -h    Show help.\n");
   exit(255);
 }