summaryrefslogtreecommitdiff
path: root/src/rmdir.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-23 15:41:16 +0000
committerJim Meyering <jim@meyering.net>2001-11-23 15:41:16 +0000
commita5f1ced62a3a3288f72d4f494e61122e7d407498 (patch)
tree86aa6bbd3b956c22f07bc460d1929dedb4a5daa1 /src/rmdir.c
parent2e55f173989ab21bb87fd3c2c6bd12305469e179 (diff)
downloadcoreutils-a5f1ced62a3a3288f72d4f494e61122e7d407498.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/rmdir.c')
-rw-r--r--src/rmdir.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rmdir.c b/src/rmdir.c
index 848a2c699..085a11e68 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -1,5 +1,5 @@
/* rmdir -- remove directories
- Copyright (C) 90, 91, 1995-2000 Free Software Foundation, Inc.
+ Copyright (C) 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
@@ -142,7 +142,7 @@ usage (int status)
else
{
printf (_("Usage: %s [OPTION]... DIRECTORY...\n"), program_name);
- printf (_("\
+ fputs (_("\
Remove the DIRECTORY(ies), if they are empty.\n\
\n\
--ignore-fail-on-non-empty\n\
@@ -151,10 +151,12 @@ Remove the DIRECTORY(ies), if they are empty.\n\
-p, --parents remove DIRECTORY, then try to remove each directory\n\
component of that path name. E.g., `rmdir -p a/b/c' is\n\
similar to `rmdir a/b/c a/b a'.\n\
+"), stdout);
+ fputs (_("\
-v, --verbose output a diagnostic for every directory processed\n\
--help display this help and exit\n\
--version output version information and exit\n\
-"));
+"), stdout);
puts (_("\nReport bugs to <bug-fileutils@gnu.org>."));
}
exit (status);