diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-25 04:10:39 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-25 04:10:39 -0400 |
| commit | debca3f8668ffbe7273e5882af0b1d8dd76cd62f (patch) | |
| tree | f22a1e6b4eba18e45c772c2469a1a843282b3eca | |
| parent | cc5bd20da4ba1f1adbf37cc68f2b071660a4cbe0 (diff) | |
| download | sbo-maintainer-tools-debca3f8668ffbe7273e5882af0b1d8dd76cd62f.tar.gz | |
| -rwxr-xr-x | sbrun | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -95,6 +95,8 @@ Usage: $SELF [-option [-option ...]] [script] [variable=value ...] -H, --long-help Show long help message and exit. --man Format the long help message as a man page, on stdout. +--version + Print version number and exit. script Run this script instead of the default .SlackBuild script. variable=value ... @@ -221,6 +223,8 @@ elif [ "$1" = "--long-help" ]; then long_help ; exit 0 elif [ "$1" = "--man" ]; then exec pod2man --stderr -s1 -csbo-maintainer-tools -r$VERSION $0 ; exit 0 +elif [ "$1" = "--version" ]; then + echo $VERSION ; exit 0 fi # save original args, as we're going to permute them, below |
