|
@@ -24,6 +24,7 @@ SATURNIN_CACHE_HOME="__SATURNIN_CACHE_HOME__"
|
24
|
24
|
SATURNIN_LIBEXEC="__SATURNIN_LIBEXEC__"
|
25
|
25
|
SATURNIN_LIBEXEC_PREFIX="satcmd-"
|
26
|
26
|
SATURNIN_APP_VERSION="__MKIT_PROJ_VERSION__"
|
|
27
|
+SATURNIN_APP_TAGLINE="__MKIT_PROJ_TAGLINE__"
|
27
|
28
|
|
28
|
29
|
#
|
29
|
30
|
# =====END BUILT PART=====
|
|
@@ -40,15 +41,10 @@ usage() {
|
40
|
41
|
"--version"
|
41
|
42
|
}
|
42
|
43
|
|
43
|
|
-version_info() {
|
44
|
|
- echo "$(basename "$0") (Spirit of your toolbox) $SATURNIN_APP_VERSION"
|
45
|
|
- exit "$SHELLFU_EXIT_OK"
|
46
|
|
-}
|
47
|
|
-
|
48
|
44
|
while true; do case $1 in
|
49
|
45
|
-d|--debug) export SHELLFU_DEBUG=true; shift ;;
|
50
|
46
|
-v|--verbose) export SHELLFU_VERBOSE=true; shift ;;
|
51
|
|
- --version) version_info ;;
|
|
47
|
+ --version) saturnin__version; exit ;;
|
52
|
48
|
--version-semver) echo "$SATURNIN_APP_VERSION"; exit ;;
|
53
|
49
|
-*) usage; ;;
|
54
|
50
|
--*) usage; ;;
|