summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@penguin.cs.ucla.edu>2006-11-27 11:27:46 +0100
committerJim Meyering <jim@meyering.net>2006-11-27 11:27:46 +0100
commit9b06af3367500dfe09067b047381e788969059cd (patch)
tree0b4858e328a2c8ceabf60d95fdfa0cc016faf5d4 /src/ls.c
parenta45772d52d86a2b1a39ee057b139af7eb36a2b76 (diff)
downloadcoreutils-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/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index 03164b167..63d363fd2 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4270,6 +4270,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
-h, --human-readable with -l, print sizes in human readable format\n\
(e.g., 1K 234M 2G)\n\
--si likewise, but use powers of 1000 not 1024\n\
+"), stdout);
+ fputs (_("\
-H, --dereference-command-line\n\
follow symbolic links listed on the command line\n\
--dereference-command-line-symlink-to-dir\n\
@@ -4331,6 +4333,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
non-recent files and FORMAT2 to recent files;\n\
if STYLE is prefixed with `posix-', STYLE\n\
takes effect only outside the POSIX locale\n\
+"), stdout);
+ fputs (_("\
-t sort by modification time\n\
-T, --tabsize=COLS assume tab stops at each COLS instead of 8\n\
"), stdout);