aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-12-05 12:14:47 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-05 19:15:21 +0000
commitc4e7bd37499f68bede723885903c2974d19d0d6a (patch)
tree20fc8f5f854720eea22ce1a0a4e5fe4b953e3b92
parentfe6acd61897ce977697825792d59909b4e816273 (diff)
mncc: remove deprecated commandline option.
The commandline option -m has already been deprecated before the split. Use the split as an opportunity to get rid of this option. Change-Id: Ie23d492a839aae85470e39b0d0ad8f57b0d38f7e
-rw-r--r--src/osmo-msc/msc_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index b4bafd55c..0d236972e 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -133,7 +133,6 @@ static void print_help()
printf(" -V --version Print the version of OpenBSC.\n");
printf(" -e --log-level number Set a global loglevel.\n");
printf(" -M --mncc-sock-path PATH Disable built-in MNCC handler and offer socket.\n");
- printf(" -m --mncc-sock Same as `-M /tmp/bsc_mncc' (deprecated).\n");
printf(" -C --no-dbcounter Disable regular syncing of counters to database.\n");
}
@@ -151,13 +150,12 @@ static void handle_options(int argc, char **argv)
{"timestamp", 0, 0, 'T'},
{"version", 0, 0, 'V' },
{"log-level", 1, 0, 'e'},
- {"mncc-sock", 0, 0, 'm'},
{"mncc-sock-path", 1, 0, 'M'},
{"no-dbcounter", 0, 0, 'C'},
{0, 0, 0, 0}
};
- c = getopt_long(argc, argv, "hd:Dsl:TVc:e:mCM:",
+ c = getopt_long(argc, argv, "hd:Dsl:TVc:e:CM:",
long_options, &option_index);
if (c == -1)
break;
@@ -191,9 +189,6 @@ static void handle_options(int argc, char **argv)
case 'M':
msc_cmdline_config.mncc_sock_path = optarg;
break;
- case 'm':
- msc_cmdline_config.mncc_sock_path = "/tmp/bsc_mncc";
- break;
case 'C':
msc_cmdline_config.use_db_counter = 0;
break;