mirror of
https://github.com/dustinkirkland/byobu
synced 2025-07-05 20:42:10 -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
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
|||
byobu (6.13) unreleased; urgency=medium
|
||||
|
||||
* usr/lib/byobu/include/common:
|
||||
- added -v|--version and -h|--help to most executables
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 17 Sep 2024 19:46:50 -0500
|
||||
|
||||
byobu (6.12-0ubuntu1) noble; urgency=medium
|
||||
|
||||
* usr/share/byobu/profiles/bashrc:
|
||||
|
|
|
@ -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