Review at  https://gerrit.osmocom.org/5187

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
---
M src/osmo-msc/msc_main.c
1 file changed, 1 insertion(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/87/5187/1

diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index b4bafd5..0d23697 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -133,7 +133,6 @@
        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 @@
                        {"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;
@@ -190,9 +188,6 @@
                        break;
                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;

-- 
To view, visit https://gerrit.osmocom.org/5187
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie23d492a839aae85470e39b0d0ad8f57b0d38f7e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>

Reply via email to