diff options
Diffstat (limited to 'utils/osmo-arfcn.c')
-rw-r--r-- | utils/osmo-arfcn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/osmo-arfcn.c b/utils/osmo-arfcn.c index 50878423..5f138f8c 100644 --- a/utils/osmo-arfcn.c +++ b/utils/osmo-arfcn.c @@ -128,6 +128,11 @@ int main(int argc, char **argv) } } + if (argc > optind) { + fprintf(stderr, "Unsupported positional arguments in command line\n"); + exit(2); + } + switch (mode) { case MODE_NONE: help(argv[0]); |