Browse code

add --version option, because I always type it

Nat! authored on 18-06-2017 13:07:18
Showing 1 changed files
... ...
@@ -385,6 +385,11 @@ bootstrap_main()
385 385
             MULLE_FLAG_VERBOSE_BUILD="YES"
386 386
          ;;
387 387
 
388
+         --version)
389
+            echo "${MULLE_EXECUTABLE_VERSION}"
390
+            exit 0
391
+         ;;
392
+
388 393
          -*)
389 394
             log_error "${MULLE_EXECUTABLE_FAIL_PREFIX}: Unknown option \"$1\""
390 395
             mulle_bootstrap_usage