mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
added help/version option to most executables
This commit is contained in:
parent
cd253f0229
commit
d315ccbd89
2 changed files with 12 additions and 0 deletions
|
@ -53,3 +53,8 @@ if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then
|
|||
export BYOBU_DISTRO="$_RET"
|
||||
BYOBU_INCLUDED_LIBS=1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
-v|--version) [ "$(basename $0)" != "byobu" ] && exec byobu -v ;;
|
||||
-h|--help) exec man $(basename $0) ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue