From d1277c605240d12b76c2a6427320db9317d9dbbf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 17 Mar 2008 09:37:24 +0000 Subject: [PATCH] remove extra spaces in help text; delete duplicate #define --- include/usage.h | 7 ++++--- libbb/getpty.c | 2 -- 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 on message delivery" \ + "\n prog Run prog 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; -- 2.25.1