[MERGED] osmo-hlr[master]: db-tool: cosmetic: tweak printf output

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Nov 12 14:22:01 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: db-tool: cosmetic: tweak printf output
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I3be31754db5297b3f6028877068f97ce1be4d74b
Gerrit-PatchSet: 2
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



More information about the gerrit-log mailing list