diff options
author | Paul Eggert <eggert@penguin.cs.ucla.edu> | 2006-11-27 11:27:46 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-27 11:27:46 +0100 |
commit | 9b06af3367500dfe09067b047381e788969059cd (patch) | |
tree | 0b4858e328a2c8ceabf60d95fdfa0cc016faf5d4 /src/du.c | |
parent | a45772d52d86a2b1a39ee057b139af7eb36a2b76 (diff) | |
download | coreutils-9b06af3367500dfe09067b047381e788969059cd.tar.xz |
Improve the check for departures from C89, and fix the departures
I found.
* Makefile.maint (my-distcheck): Also check for C89 compatibility
as best we can with GCC.
* src/stat.c (PRINTF_OPTION): Omit comma before } in enum
declaration; C89 doesn't allow this.
* src/dcgen: Don't generate string literals longer than
what C89 requires support for.
* src/cut.c (usage): Don't use string literals longer than
what C89 requires support for.
* src/date.c (usage): Likewise.
* src/dd.c (usage): Likewise.
* src/du.c (usage): Likewise.
* src/ls.c (usage): Likewise.
* src/od.c (usage): Likewise.
* src/readlink.c (usage): Likewise.
* src/seq.c (usage): Likewise.
* src/shred.c (usage): Likewise.
Diffstat (limited to 'src/du.c')
-rw-r--r-- | src/du.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -293,6 +293,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ the apparent size is usually smaller, it may be\n\ larger due to holes in (`sparse') files, internal\n\ fragmentation, indirect blocks, and the like\n\ +"), stdout); + fputs (_("\ -B, --block-size=SIZE use SIZE-byte blocks\n\ -b, --bytes equivalent to `--apparent-size --block-size=1'\n\ -c, --total produce a grand total\n\ @@ -305,6 +307,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ change to be equivalent to --dereference-args (-D)\n\ -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\n\ --si like -h, but use powers of 1000 not 1024\n\ +"), stdout); + fputs (_("\ -k like --block-size=1K\n\ -l, --count-links count sizes many times if hard linked\n\ -m like --block-size=1M\n\ |