pcu_main: Add '-V' to obtain the (compile) version of osmo-pcu
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index a9e224f..f135cfd 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -69,10 +69,11 @@
 			{ "config-file", 1, 0, 'c' },
 			{ "mcc", 1, 0, 'm' },
 			{ "mnc", 1, 0, 'n' },
+			{ "version", 0, 0, 'V' },
 			{ 0, 0, 0, 0 }
 		};
 
-		c = getopt_long(argc, argv, "hc:m:n:",
+		c = getopt_long(argc, argv, "hc:m:n:V",
 				long_options, &option_idx);
 		if (c == -1)
 			break;
@@ -92,6 +93,10 @@
 		case 'n':
 			spoof_mnc = atoi(optarg);
 			break;
+		case 'V':
+			print_version(1);
+			exit(0);
+			break;
 		default:
 			fprintf(stderr, "Unknown option '%c'\n", c);
 			exit(0);