- 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] -- [ARGS]
+OPTIONS
+ -d, --detach
+ Start in a detached (background) state.
+
+ -g, --getty[=PATH]
+ Start a getty (specified by PATH, otherwise $getty),
+ passing additional ARGS to the getty process
+
+ -s, --shell=PATH
+ Use PATH as the exit-to-shell shell
+
+ -u, --ui=PATH
+ Use PATH as the petitboot UI
+
+ -h, --help
+ Print a help message.
+EOF