- add usage for split
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 26 Mar 2007 14:38:03 +0000 (14:38 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 26 Mar 2007 14:38:03 +0000 (14:38 -0000)
include/usage.h

index 4843f5f671ec265f1bfaeefe07778d2dac643534..d948c6a035bdb5c9a32ad9e8b23a2d2ede851250 100644 (file)
        "[OPTION] [INPUT [PREFIX]]"
 #define split_full_usage \
        "Options:" \
-       "\n     -blah XXX: Fixme: usage.h"
+       "\n     -b n[k|m] Split by bytes" \
+       "\n     -l n      Split by lines" \
+       "\n     -a n      Use n letters as suffix"
+#define split_example_usage \
+       "$ split TODO foo\n" \
+       "$ cat TODO | split -a 2 -l 2 TODO_\n"
 
 #define start_stop_daemon_trivial_usage \
        "[OPTIONS] [--start|--stop] ... [-- arguments...]"