summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7048bb4)
Allows for cleaner usage message in the source.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
- echo "pb-console [OPTIONS] console_dev" >&2
- echo "OPTIONS" >&2
- echo " -d, --detach" >&2
- echo " Start in a detached (background) state." >&2
- echo " -h, --help" >&2
- echo " Print a help message." >&2
+ cat >&2 <<EOF
+pb-console [OPTIONS] console_dev
+OPTIONS
+ -d, --detach
+ Start in a detached (background) state.
+ -h, --help
+ Print a help message.
+EOF