Skip to content

Commit

Permalink
version: add version to help output
Browse files Browse the repository at this point in the history
  • Loading branch information
89luca89 committed Dec 8, 2021
1 parent 82d9d34 commit c9f13bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distrobox-create
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ version="distrobox_version_placeholder"
# print usage with examples.
show_help() {
echo "USAGE:
distrobox version: ${version}
distrobox-create --image registry.fedoraproject.org/fedora-toolbox:35 --name fedora-toolbox-35
Arguments:
Expand Down
2 changes: 2 additions & 0 deletions distrobox-enter
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ container_command="${SHELL} -l"
# print usage with examples.
show_help() {
echo "USAGE:
distrobox version: ${version}
distrobox-enter --name fedora-toolbox-35 -- bash -l
Arguments:
Expand Down
2 changes: 2 additions & 0 deletions distrobox-export
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ done
# print usage with examples.
show_help() {
echo "USAGE:
distrobox version: ${version}
distrobox-export --app mpv
distrobox-export --service syncthing
Expand Down
2 changes: 2 additions & 0 deletions distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ version="distrobox_version_placeholder"
# print usage with examples.
show_help() {
echo "USAGE:
distrobox version: ${version}
distrobox-init --name ${USER} --user $(id -ru) --group $(id -rg) --home ${HOME}
Arguments:
Expand Down

0 comments on commit c9f13bc

Please sign in to comment.