summaryrefslogtreecommitdiffhomepage
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-19 17:36:16 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-19 17:36:16 +0200
commit5e61115ea45c621867941e52e6ac016680415656 (patch)
tree7e92d0ee0720d907b4b35bfa510c3969c79eaaa8 /include/usage.h
parent5a49d284a6a9f6cf2076f23561f95aebdfd44592 (diff)
scriptreplay: new applet. +423 bytes
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 123462a02..1e327fb97 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3512,6 +3512,11 @@
"\n -g Process group id(s)" \
"\n -u Process user name(s) and/or id(s)" \
+#define scriptreplay_trivial_usage \
+ "timingfile [typescript [divisor]]"
+#define scriptreplay_full_usage "\n\n" \
+ "Play back typescripts, using timing information"
+
#define reset_trivial_usage \
""
#define reset_full_usage "\n\n" \
@@ -3706,13 +3711,16 @@
"$ rx /tmp/foo\n"
#define script_trivial_usage \
- "[-afq] [-c COMMAND] [OUTFILE]"
+ "[-afq" IF_SCRIPTREPLAY("t") "] [-c COMMAND] [OUTFILE]"
#define script_full_usage "\n\n" \
"Options:" \
"\n -a Append output" \
"\n -c Run COMMAND, not shell" \
"\n -f Flush output after each write" \
"\n -q Quiet" \
+ IF_SCRIPTREPLAY( \
+ "\n -t Send timing to stderr" \
+ )
#define sed_trivial_usage \
"[-efinr] pattern [files...]"