summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-02-25 08:16:23 +0000
committerPádraig Brady <P@draigBrady.com>2011-03-05 02:01:16 +0000
commit7525860fb9c158cba362037fba491d82a09613c6 (patch)
tree68c17d970fc4be804700ca4855bda18ac3f4afaa /src/dd.c
parente1788d9ed9c22811ab73163270cfc11ed36c8abd (diff)
downloadcoreutils-7525860fb9c158cba362037fba491d82a09613c6.tar.xz
doc: group dd conv= options that are actually flags
* src/dd.c (usage): Move 'sync' up with other data transformation options. Having it alongside 'fsync' and 'fdatasync' is particularly confusing. Also the double line description of the 'sync' option, serves as a visual break from the "flag" type options that follow. * doc/coreutils.texi (dd invocation): Apply the same grouping as above, by splitting the "conv=" table in two.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/dd.c b/src/dd.c
index fd468a647..a2b4d209f 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -499,18 +499,16 @@ Each CONV symbol may be:\n\
block pad newline-terminated records with spaces to cbs-size\n\
unblock replace trailing spaces in cbs-size records with newline\n\
lcase change upper case to lower case\n\
-"), stdout);
- fputs (_("\
- nocreat do not create the output file\n\
- excl fail if the output file already exists\n\
- notrunc do not truncate the output file\n\
ucase change lower case to upper case\n\
swab swap every pair of input bytes\n\
+ sync pad every input block with NULs to ibs-size; when used\n\
+ with block or unblock, pad with spaces rather than NULs\n\
"), stdout);
fputs (_("\
+ excl fail if the output file already exists\n\
+ nocreat do not create the output file\n\
+ notrunc do not truncate the output file\n\
noerror continue after read errors\n\
- sync pad every input block with NULs to ibs-size; when used\n\
- with block or unblock, pad with spaces rather than NULs\n\
fdatasync physically write output file data before finishing\n\
fsync likewise, but also write metadata\n\
"), stdout);