aboutsummaryrefslogtreecommitdiff
path: root/util-linux/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/script.c')
-rw-r--r--util-linux/script.c13
1 files changed, 13 insertions, 0 deletions
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 @@
10 * 10 *
11 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 11 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
12 */ 12 */
13
14//usage:#define script_trivial_usage
15//usage: "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]"
16//usage:#define script_full_usage "\n\n"
17//usage: "Options:"
18//usage: "\n -a Append output"
19//usage: "\n -c PROG Run PROG, not shell"
20//usage: "\n -f Flush output after each write"
21//usage: "\n -q Quiet"
22//usage: IF_SCRIPTREPLAY(
23//usage: "\n -t Send timing to stderr"
24//usage: )
25
13#include "libbb.h" 26#include "libbb.h"
14 27
15int script_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 28int script_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;