From debca3f8668ffbe7273e5882af0b1d8dd76cd62f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 25 Sep 2026 04:10:39 -0400 Subject: sbrun: add --version. --- sbrun | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sbrun') diff --git a/sbrun b/sbrun index 35d0a79..90df9e0 100755 --- a/sbrun +++ b/sbrun @@ -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 -- cgit v1.2.3