Review at  https://gerrit.osmocom.org/4777

db-tool: cosmetic: tweak printf output

Say <nitb.db> to indicate a filename.
No need to print the cmd and arg count, really.

Change-Id: I3be31754db5297b3f6028877068f97ce1be4d74b
---
M src/hlr_db_tool.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/77/4777/1

diff --git a/src/hlr_db_tool.c b/src/hlr_db_tool.c
index 13281f2..fb10f3e 100644
--- a/src/hlr_db_tool.c
+++ b/src/hlr_db_tool.c
@@ -66,7 +66,7 @@
        printf("  create                     Create an empty OsmoHLR 
database.\n");
        printf("                             (All commands imply this if none 
exists yet.)\n");
        printf("\n");
-       printf("  import-nitb-db db          Add OsmoNITB db's subscribers to 
OsmoHLR db.\n");
+       printf("  import-nitb-db <nitb.db>   Add OsmoNITB db's subscribers to 
OsmoHLR db.\n");
        printf("                             Be aware that the import is lossy, 
only the\n");
        printf("                             IMSI, MSISDN, nam_cs/ps and 2G 
auth data are set.\n");
 }
@@ -143,7 +143,6 @@
        }
 
        cmd = argv[optind++];
-       printf("command '%s', %d extra arguments\n", cmd, argc - optind);
 
        if (!strcmp(cmd, "create")) {
                /* Nothing to do, just run the main program to open the 
database without running any

-- 
To view, visit https://gerrit.osmocom.org/4777
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3be31754db5297b3f6028877068f97ce1be4d74b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to