diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-06-22 03:09:01 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-06-22 03:09:01 +0100 |
commit | b235223926c23f358df323fab4b368b46d0074af (patch) | |
tree | 6fb0c5104f61bba8274f07e45ef0a22ca83db0f6 /src/truncate.c | |
parent | 2bc0281352a894e75dedcf3cc41fcba487e3b74b (diff) | |
download | coreutils-b235223926c23f358df323fab4b368b46d0074af.tar.xz |
doc: clarify that truncate --size represents bytes by default
* src/truncate.c (usage): Mention that --size is in bytes which
is by far the most common usage.
* doc/coreutils.texi (truncate invocation): Likewise. Also cross
reference the --io-blocks option.
Reported in http://bugs.gnu.org/14686
Diffstat (limited to 'src/truncate.c')
-rw-r--r-- | src/truncate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truncate.c b/src/truncate.c index 8349cb61a..d48c346e8 100644 --- a/src/truncate.c +++ b/src/truncate.c @@ -114,7 +114,7 @@ reads as zero bytes.\n\ "), stdout); fputs (_("\ -r, --reference=RFILE base size on RFILE\n\ - -s, --size=SIZE set or adjust the file size by SIZE\n"), stdout); + -s, --size=SIZE set or adjust the file size by SIZE bytes\n"), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); emit_size_note (); |