aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2019-07-26 11:56:31 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2019-07-26 11:59:00 +0200
commit03a2ed5b30ff07345b406f1a13e18f6cb3adf629 (patch)
tree515a29137cc40d9f3be55b3301d31a63d7988eb3 /src/gprs/sgsn_main.c
parent40fce10e46203062639e0e90a3e4eed24bd751c6 (diff)
Add/fix help string for version option
osmo-sgsn was missing the help text of the -V option gb_proxy still thought of itself as OpenBSC Omit the name of the program in the help text to avoid such issues in the future. Related: OS#1720 Change-Id: Ib57694b6bff7c98a269dc4b4dbb7173349a57b81
Diffstat (limited to 'src/gprs/sgsn_main.c')
-rw-r--r--src/gprs/sgsn_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index f12270de..3543517c 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -209,6 +209,7 @@ static void print_help(void)
{
printf("Some useful help...\n");
printf(" -h --help\tthis text\n");
+ printf(" -V --version\tPrint the version\n");
printf(" -D --daemonize\tFork the process into a background daemon\n");
printf(" -d option --debug\tenable Debugging\n");
printf(" -s --disable-color\n");