diff --git a/src/main_muse.cpp b/src/main_muse.cpp
old mode 100755
new mode 100644
index c2b7ef6..d8ac21d
--- a/src/main_muse.cpp
+++ b/src/main_muse.cpp
@@ -362,15 +362,19 @@ int main(int argc, char* argv[]){
     if(argc < 2)
         return usage();
 
-	if(strcmp(argv[1], "call") == 0){
+    if(strcmp(argv[1], "call") == 0){
         get_MuseCallOpts(argc, argv);
-	}
-	else if(strcmp(argv[1], "sump") == 0) {
-		get_MuseSumpOpts(argc-1, argv+1);
-	}
+    }
+    else if(strcmp(argv[1], "sump") == 0) {
+        get_MuseSumpOpts(argc-1, argv+1);
+    }
+    else if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "--v") == 0) {
+        fprintf(stdout, "MuSE %s\n", Version.c_str());
+        return 0; // Successfully printed version
+    } 
     else {
         fprintf(stderr, "[main] unrecognized command '%s'\n", argv[1]);
         return 1;
     }
-	return 0;
+    return 0;
 }
