Explorar el Código

Also respect -V for --version-semver

Alois Mahdal hace 6 años
padre
commit
2f899d3b04
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      src/make

+ 3
- 3
src/make Ver fichero

@@ -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