Patch Set 1: (1 comment)
https://gerrit.osmocom.org/#/c/4441/1/src/hlr_db_tool.c File src/hlr_db_tool.c: PS1, Line 53: [--import-nitb-db <nitb.db>] > My first intention was to have a positional argument like in git commands a how to do this: getopt_long() leaves "optind" at the last option it has parsed, so "argc - optind" tells you the number of remaining positional arguments. You can then index argv[] from there. I implemented it in the next version of the patch because I wanted this to be merged before tagging an osmo-hlr release just now. -- To view, visit https://gerrit.osmocom.org/4441 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0dfa6ec033dd93161c1adc2ce1637195fe5b7a63 Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <[email protected]> Gerrit-HasComments: Yes
