aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:37:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-17 09:37:24 +0000
commitd1277c605240d12b76c2a6427320db9317d9dbbf (patch)
treea05b6bd65349be1abd29cdf66995fceec3ea3df7
parentd0a071a5281f8ba4b291f0c3beb74bee1f8df6a3 (diff)
downloadbusybox-d1277c605240d12b76c2a6427320db9317d9dbbf.tar.gz
remove extra spaces in help text; delete duplicate #define
-rw-r--r--include/usage.h7
-rw-r--r--libbb/getpty.c2
2 files changed, 4 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index fe98398ab..1fa40ce98 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1055,7 +1055,7 @@
"\n -X Use openssl connection helper for secured servers" \
"\n -t Get only headers" \
"\n -z Delete messages on server" \
- "\n prog Run prog <message_file> on message delivery" \
+ "\n prog Run prog <message_file> on message delivery" \
#define findfs_trivial_usage \
"LABEL=label or UUID=uuid"
@@ -3903,7 +3903,8 @@
)
#define test_trivial_usage \
- "EXPRESSION\n or [ EXPRESSION ]"
+ "EXPRESSION\n" \
+ " or [ EXPRESSION ]"
#define test_full_usage \
"Check file types and compares values returning an exit code\n" \
"determined by the value of EXPRESSION"
@@ -4324,7 +4325,7 @@
#define vlock_full_usage \
"Lock a virtual terminal. A password is required to unlock.\n" \
"\nOptions:" \
- "\n -a Lock all VTs" \
+ "\n -a Lock all VTs" \
#define watch_trivial_usage \
"[-n seconds] [-t] COMMAND..."
diff --git a/libbb/getpty.c b/libbb/getpty.c
index 36b3c6842..5ac9582d3 100644
--- a/libbb/getpty.c
+++ b/libbb/getpty.c
@@ -10,8 +10,6 @@
#define DEBUG 0
-#define DEBUG 0
-
int getpty(char *line)
{
int p;