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
This commit is contained in:
Philipp Maier 2017-12-05 12:14:47 +01:00 committed by Harald Welte
parent fe6acd6189
commit c4e7bd3749
1 changed files with 1 additions and 6 deletions

View File

@ -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;