diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-23 14:59:43 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-25 12:18:04 +0100 |
commit | fc7add20e1b54e1b0d10c7457629507fb62d7d31 (patch) | |
tree | 2707bb10289e5d149ad8f63b2560887feb9b8a1a /openbsc/src/osmo-bsc/osmo_bsc_main.c | |
parent | f4a3123145b104fc1a6b7f17c299479a8f734918 (diff) |
osmo-nitb: be strict about cmdline args
Abort upon unknown options and missing option arguments. This came to my
attention while rewiring the -m and -M options: passing -M without argument
would launch nitb with wrong configuration. So, rather exit immediately.
If there are legacy options that should be ignored, they deserve an own 'case:'
in the option switch. There are none that I'm aware of though.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
0 files changed, 0 insertions, 0 deletions