summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-20 15:23:03 +0000
committerDenis Vlasenko2007-06-20 15:23:03 +0000
commit14923db72fe6e97d9c596236841a9eb6338231db (patch)
treead221dd5c71bb7eec7788c86af30ba4c933d9cc2 /include/usage.h
parentcd0e80ce902f6e79b31888af4ff4545846ce1c0e (diff)
downloadbusybox-14923db72fe6e97d9c596236841a9eb6338231db.zip
busybox-14923db72fe6e97d9c596236841a9eb6338231db.tar.gz
slattach: new applet.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 7d09feb..2baa495 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2991,6 +2991,20 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
" -s Don't output anything, status code shows success\n" \
" -w Warn about improperly formatted SHA1 checksum lines")
+#define slattach_trivial_usage \
+ "[-cehmLF] [-s speed] [-p protocol] DEVICEs"
+#define slattach_full_usage \
+ "Attach network interface(s) to serial line(s)\n" \
+ "\nOptions:" \
+ "\n -p Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \
+ "\n -s Set line speed" \
+ "\n -e Exit after initializing device" \
+ "\n -h Exit when the carrier is lost" \
+ "\n -c Execute a command when the line is hung up" \
+ "\n -m Do NOT initialize the line in raw 8 bits mode" \
+ "\n -L Enable 3-wire operation" \
+ "\n -F Disable RTS/CTS flow control" \
+
#define sleep_trivial_usage \
USE_FEATURE_FANCY_SLEEP("[") "N" USE_FEATURE_FANCY_SLEEP("]...")
#define sleep_full_usage \