summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-02-14 21:19:12 +0000
committerJim Meyering <jim@meyering.net>1994-02-14 21:19:12 +0000
commitc6f59f7abe4e89f690021c2ba29dfef8a3cc7a9c (patch)
treecdc4c0fbdb88202f20181f3e257b6b2796e3f419 /src
parente4aba2047ab257bddf475af70f04d15041dd6d70 (diff)
downloadcoreutils-c6f59f7abe4e89f690021c2ba29dfef8a3cc7a9c.tar.gz
coreutils-c6f59f7abe4e89f690021c2ba29dfef8a3cc7a9c.tar.bz2
coreutils-c6f59f7abe4e89f690021c2ba29dfef8a3cc7a9c.zip
.
Diffstat (limited to 'src')
-rw-r--r--src/basename.c6
-rw-r--r--src/dirname.c6
-rw-r--r--src/stty.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/src/basename.c b/src/basename.c
index 6fc11302e..8f773e9aa 100644
--- a/src/basename.c
+++ b/src/basename.c
@@ -59,7 +59,11 @@ usage (status)
program_name);
else
{
- printf ("Usage: %s [OPTION]... PATH [SUFFIX]\n", program_name);
+ printf ("\
+Usage: %s PATH [SUFFIX]\n\
+ or: %s OPTION\n\
+",
+ program_name, program_name);
printf ("\
\n\
--help display this help and exit\n\
diff --git a/src/dirname.c b/src/dirname.c
index a0345be7a..17beaba20 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -48,7 +48,11 @@ usage (status)
program_name);
else
{
- printf ("Usage: %s [OPTION]... PATH\n", program_name);
+ printf ("\
+Usage: %s PATH\n\
+ or: %s OPTION\n\
+",
+ program_name, program_name);
printf ("\
\n\
--help display this help and exit\n\
diff --git a/src/stty.c b/src/stty.c
index 5b3f7f4be..b094f8bce 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -452,7 +452,11 @@ usage (status)
program_name);
else
{
- printf ("Usage: %s [OPTION]... [SETTING]...\n", program_name);
+ printf ("\
+Usage: %s [SETTING]...\n\
+ or: %s OPTION\n\
+",
+ program_name, program_name);
printf ("\
\n\
-a, --all print all current settings in human-readable form\n\