osmo-hlr[master]: add osmo-hlr-db-tool, program to migrate from osmo-nitb db

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Oct 28 18:35:48 UTC 2017

Patch Set 1:

(1 comment)

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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes

More information about the gerrit-log mailing list