From c4e7bd37499f68bede723885903c2974d19d0d6a Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 5 Dec 2017 12:14:47 +0100 Subject: 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 --- src/osmo-msc/msc_main.c | 7 +------ 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3