From 5bc8c005a8e15c43285bc595a8d404de67a482ac Mon Sep 17 00:00:00 2001 From: Pere Orga Date: Mon, 11 Apr 2011 03:29:49 +0200 Subject: move remaining help text from include/usage.src.h Signed-off-by: Pere Orga Signed-off-by: Denys Vlasenko --- util-linux/script.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'util-linux/script.c') diff --git a/util-linux/script.c b/util-linux/script.c index 47efc4526..26f16ebf5 100644 --- a/util-linux/script.c +++ b/util-linux/script.c @@ -10,6 +10,19 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ + +//usage:#define script_trivial_usage +//usage: "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]" +//usage:#define script_full_usage "\n\n" +//usage: "Options:" +//usage: "\n -a Append output" +//usage: "\n -c PROG Run PROG, not shell" +//usage: "\n -f Flush output after each write" +//usage: "\n -q Quiet" +//usage: IF_SCRIPTREPLAY( +//usage: "\n -t Send timing to stderr" +//usage: ) + #include "libbb.h" int script_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -- cgit v1.2.3