From 9abc4dfc3bbc527d5dce520d54e217fe3fbebebd Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 21 Feb 2012 13:39:44 +0100 Subject: [PATCH] logoutput: Clean up --help message --- ucw/shell/logoutput.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/ucw/shell/logoutput.c b/ucw/shell/logoutput.c index 0ef0118b..7b9ed801 100644 --- a/ucw/shell/logoutput.c +++ b/ucw/shell/logoutput.c @@ -212,24 +212,19 @@ const struct option my_long_opts[] = { static char usage[] = "Usage:\n" "logoutput -h|--help\t\t This help.\n" - "logoutput -i|--input\t Read filedescriptors and log them.\n" + "logoutput -i|--input\t Read file descriptors and log them.\n" "\t\t\t\t default: stdin at level I.\n" "logoutput [--] [arguments for cmd ...]\n" - "\t\t\t\t Open filedescriptors for writing for\n" - "\t\t\t\t command and log them.\n" - "\t\t\t\t default: stdout:I, stderr:W.\n" + "\t\t\t\t Open file descriptors for writing for command and log them.\n" + "\t\t\t\t default: stdout:I, stderr:W.\n\n" "Options:\n" CF_USAGE "-n, --logname \t\t Use as program name in logs.\n" - "-l, --descriptor : Open filedescriptor and log it\n" - "\t\t\t\t at level (discards defaults).\n" + "-l, --descriptor : Open file descriptor and log it at level (replaces defaults).\n" "-f, --logfile \t\t Log to file .\n" - "-q, --nv, --nonverbose\t\t Suppress launching and successful\n" - "\t\t\t\t finish messages.\n" - "-s, --silent\t\t\t Suppress launching message and all\n" - "\t\t\t\t finish messages (i.e., no warning if\n" - "\t\t\t\t terminates with nonzero message or by\n" - "\t\t\t\t signal.\n"; + "-q, --nv, --nonverbose\t\t Suppress launching and successful finish messages.\n" + "-s, --silent\t\t\t Suppress launching message and all finish messages.\n" + "\t\t\t\t (i.e., no warning if it terminates with a nonzero exit code or by a signal)\n"; int main(int argc, char **argv) -- 2.39.5