Browse Source

Also respect -V for --version-semver

Alois Mahdal 7 years ago
parent
commit
2f899d3b04
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/make

+ 3
- 3
src/make View File

@@ -24,9 +24,9 @@ MKIT_DIR=${MKIT_DIR:-$(dirname "$0")}
24 24
 init_core
25 25
 
26 26
 case "$1" in
27
-    --version-semver) echo "$MKIT_VERSION"; exit 0 ;;
28
-    --version)        echo "Mkit (Simple Makefile target helper) $MKIT_VERSION"
29
-                      exit 0 ;;
27
+    -V|--version-semver)    echo "$MKIT_VERSION"; exit 0 ;;
28
+    --version)              echo "Mkit (Simple Makefile target helper) $MKIT_VERSION"
29
+                            exit 0 ;;
30 30
 esac
31 31
 
32 32
 mkit_init