diff options
Diffstat (limited to 'src/util/libgsmd-tool.c')
-rw-r--r-- | src/util/libgsmd-tool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/libgsmd-tool.c b/src/util/libgsmd-tool.c index c48bf8e..34bb53c 100644 --- a/src/util/libgsmd-tool.c +++ b/src/util/libgsmd-tool.c @@ -95,11 +95,14 @@ int main(int argc, char **argv) printf("libgsm-tool - (C) 2006 by Harald Welte\n" "This program is Free Software and has ABSOLUTELY NO WARRANTY\n\n"); + while (1) { int c, option_index = 0; c = getopt_long(argc, argv, "vVhm:p:", opts, &option_index); if (c == -1) + { break; + } switch (c) { case 'v': |