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-w32-d1277c605240d12b76c2a6427320db9317d9dbbf.tar.gz
busybox-w32-d1277c605240d12b76c2a6427320db9317d9dbbf.tar.bz2
busybox-w32-d1277c605240d12b76c2a6427320db9317d9dbbf.zip
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 @@
1055 "\n -X Use openssl connection helper for secured servers" \ 1055 "\n -X Use openssl connection helper for secured servers" \
1056 "\n -t Get only headers" \ 1056 "\n -t Get only headers" \
1057 "\n -z Delete messages on server" \ 1057 "\n -z Delete messages on server" \
1058 "\n prog Run prog <message_file> on message delivery" \ 1058 "\n prog Run prog <message_file> on message delivery" \
1059 1059
1060#define findfs_trivial_usage \ 1060#define findfs_trivial_usage \
1061 "LABEL=label or UUID=uuid" 1061 "LABEL=label or UUID=uuid"
@@ -3903,7 +3903,8 @@
3903 ) 3903 )
3904 3904
3905#define test_trivial_usage \ 3905#define test_trivial_usage \
3906 "EXPRESSION\n or [ EXPRESSION ]" 3906 "EXPRESSION\n" \
3907 " or [ EXPRESSION ]"
3907#define test_full_usage \ 3908#define test_full_usage \
3908 "Check file types and compares values returning an exit code\n" \ 3909 "Check file types and compares values returning an exit code\n" \
3909 "determined by the value of EXPRESSION" 3910 "determined by the value of EXPRESSION"
@@ -4324,7 +4325,7 @@
4324#define vlock_full_usage \ 4325#define vlock_full_usage \
4325 "Lock a virtual terminal. A password is required to unlock.\n" \ 4326 "Lock a virtual terminal. A password is required to unlock.\n" \
4326 "\nOptions:" \ 4327 "\nOptions:" \
4327 "\n -a Lock all VTs" \ 4328 "\n -a Lock all VTs" \
4328 4329
4329#define watch_trivial_usage \ 4330#define watch_trivial_usage \
4330 "[-n seconds] [-t] COMMAND..." 4331 "[-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 @@
10 10
11#define DEBUG 0 11#define DEBUG 0
12 12
13#define DEBUG 0
14
15int getpty(char *line) 13int getpty(char *line)
16{ 14{
17 int p; 15 int p;