summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-12-27 04:14:14 +0000
committerPádraig Brady <P@draigBrady.com>2012-12-27 13:42:07 +0000
commit850aa613e6b040784a9cc1c661bc59d91c315305 (patch)
tree831b3bda8c80dbd73a044a363cd691b6718891f0 /doc
parentb6b24ad49d36e13df54650c99c43f9fddd15ff75 (diff)
downloadcoreutils-850aa613e6b040784a9cc1c661bc59d91c315305.tar.xz
doc: improve od --help and man page
* src/od.c: Redorder the information output by --help to ease interpretation and so that appropriate sections are generated by help2man. * doc/coreutils.texi (od invocation): Fix an incorrect reference to @var{n}, which should be @var{bytes}. * man/od.x: Add an "Examples" section, and move the default od format to there, and add a commonly required format to generate hexdumps. Reported by Akim Demaille in http://bugs.gnu.org/13280.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index bed355364..3c970d72d 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1884,7 +1884,7 @@ followed by a zero byte (ASCII @sc{nul}).
Prefixes and suffixes on @var{bytes} are interpreted as for the
@option{-j} option.
-If @var{n} is omitted with @option{--strings}, the default is 3.
+If @var{bytes} is omitted with @option{--strings}, the default is 3.
@item -t @var{type}
@itemx --format=@var{type}