diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
commit | a5f1ced62a3a3288f72d4f494e61122e7d407498 (patch) | |
tree | 86aa6bbd3b956c22f07bc460d1929dedb4a5daa1 /src/chmod.c | |
parent | 2e55f173989ab21bb87fd3c2c6bd12305469e179 (diff) | |
download | coreutils-a5f1ced62a3a3288f72d4f494e61122e7d407498.tar.xz |
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/chmod.c')
-rw-r--r-- | src/chmod.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/chmod.c b/src/chmod.c index 859cf4681..371f4cccc 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -1,5 +1,5 @@ /* chmod -- change permission modes of files - Copyright (C) 89, 90, 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 89, 90, 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -246,20 +246,22 @@ Usage: %s [OPTION]... MODE[,MODE]... FILE...\n\ or: %s [OPTION]... --reference=RFILE FILE...\n\ "), program_name, program_name, program_name); - printf (_("\ + fputs (_("\ Change the mode of each FILE to MODE.\n\ \n\ -c, --changes like verbose but report only when a change is made\n\ -f, --silent, --quiet suppress most error messages\n\ -v, --verbose output a diagnostic for every file processed\n\ --reference=RFILE use RFILE's mode instead of MODE values\n\ +"), stdout); + fputs (_("\ -R, --recursive change files and directories recursively\n\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ Each MODE is one or more of the letters ugoa, one of the symbols +-= and\n\ one or more of the letters rwxXstugo.\n\ -")); +"), stdout); puts (_("\nReport bugs to <bug-fileutils@gnu.org>.")); } exit (status); |