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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/18631 ) Change subject: osmo-bts-omldummy: print a brief usage statement if argc < 3 ...................................................................... osmo-bts-omldummy: print a brief usage statement if argc < 3 Change-Id: Iff2e3c47ed12f02f75589e7bd0cccb5dab32d040 --- M src/osmo-bts-omldummy/main.c 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/osmo-bts-omldummy/main.c b/src/osmo-bts-omldummy/main.c index 3f1d58c..8933860 100644 --- a/src/osmo-bts-omldummy/main.c +++ b/src/osmo-bts-omldummy/main.c @@ -14,6 +14,11 @@ struct e1inp_line *line; int i; + if (argc < 3) { + fprintf(stderr, "Usage: %s dst_host site_id\n", argv[0]); + return 1; + } + char *dst_host = argv[1]; int site_id = atoi(argv[2]); -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/18631 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Iff2e3c47ed12f02f75589e7bd0cccb5dab32d040 Gerrit-Change-Number: 18631 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200602/59da5491/attachment.htm>