summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-01-12 13:12:37 +0000
committerPádraig Brady <P@draigBrady.com>2016-01-13 11:16:39 +0000
commita0c5313d60703c480014bfd810bf8f1cf9903299 (patch)
tree899e19aa1cbac928c4316f99a21ccdead1f63384 /src
parentd506af44befdbeabb027322652d4842314ba07be (diff)
downloadcoreutils-a0c5313d60703c480014bfd810bf8f1cf9903299.tar.xz
doc: mention the '0#' printf flags with stat %a
* src/stat.c (usage): Mention the '#' and '0' flags are useful with %a. * doc/coreutils.texi (stat invocation): Likewise. Also give an example printing unambiguous octal output. Reported at http://bugs.debian.org/810539
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index 3c6926448..e11e4318f 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -1453,7 +1453,7 @@ Display file or file system status.\n\
fputs (_("\n\
The valid format sequences for files (without --file-system):\n\
\n\
- %a access rights in octal\n\
+ %a access rights in octal (note '#' and '0' printf flags)\n\
%A access rights in human readable form\n\
%b number of blocks allocated (see %B)\n\
%B the size in bytes of each block reported by %b\n\