From: Jindrich Novy Date: Sun, 29 Oct 2006 07:19:35 +0000 (+0000) Subject: - update docs to describe highest verbosity -vv option (#210816) X-Git-Tag: v2.34-rc1~126^2~5^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a272f143e7daca35c3617ba02a9371dbe4b5a0ac;p=thirdparty%2Futil-linux.git - update docs to describe highest verbosity -vv option (#210816) - use dist Resolves: 210816 --- diff --git a/misc-utils/hardlink.1 b/misc-utils/hardlink.1 index 7ffc2b4604..09fd7ac905 100644 --- a/misc-utils/hardlink.1 +++ b/misc-utils/hardlink.1 @@ -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" diff --git a/misc-utils/hardlink.c b/misc-utils/hardlink.c index 4625f1ea3a..a07d90c168 100644 --- a/misc-utils/hardlink.c +++ b/misc-utils/hardlink.c @@ -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); }