Change in osmo-bts[master]: main: separate model-specific arguments in help

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.org
Sat Oct 24 19:46:44 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/20867 )

Change subject: main: separate model-specific arguments in help
......................................................................

main: separate model-specific arguments in help

Change-Id: I9646a45d61153499ad3d580a03d930ed20e23cda
---
M src/osmo-bts-litecell15/main.c
M src/osmo-bts-oc2g/main.c
M src/osmo-bts-octphy/main.c
M src/osmo-bts-sysmo/main.c
4 files changed, 6 insertions(+), 3 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-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index 649557b..e29efd5 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -158,7 +158,8 @@
 
 void bts_model_print_help()
 {
-	printf( "  -w	--hw-version		Print the targeted HW Version\n"
+	printf( "\nModel specific options:\n"
+		"  -w	--hw-version		Print the targeted HW Version\n"
 		"  -M	--pcu-direct		Force PCU to access message queue for "
 						"PDCH dchannel directly\n"
 		"  -p	--dsp-trace		Set DSP trace flags\n"
diff --git a/src/osmo-bts-oc2g/main.c b/src/osmo-bts-oc2g/main.c
index d074ed3..9b0ebec 100644
--- a/src/osmo-bts-oc2g/main.c
+++ b/src/osmo-bts-oc2g/main.c
@@ -159,7 +159,8 @@
 
 void bts_model_print_help()
 {
-	printf( "  -w	--hw-version		Print the targeted HW Version\n"
+	printf( "\nModel specific options:\n"
+		"  -w	--hw-version		Print the targeted HW Version\n"
 		"  -M	--pcu-direct		Force PCU to access message queue for "
 						"PDCH dchannel directly\n"
 		"  -p	--dsp-trace 		Set DSP trace flags\n"
diff --git a/src/osmo-bts-octphy/main.c b/src/osmo-bts-octphy/main.c
index caf0f8d..56849b5 100644
--- a/src/osmo-bts-octphy/main.c
+++ b/src/osmo-bts-octphy/main.c
@@ -55,6 +55,7 @@
 
 int bts_model_print_help()
 {
+	printf("\nModel specific options:\n");
 	printf("  -I	--no-fw-check		Override firmware version check\n");
 	return 0;
 }
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index 306e557..9befcda 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -121,7 +121,7 @@
 
 void bts_model_print_help()
 {
-	printf(
+	printf( "\nModel specific options:\n"
 		"  -w	--hw-version		Print the targeted HW Version\n"
 		"  -M	--pcu-direct		Force PCU to access message queue for "
 						"PDCH dchannel directly\n"

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20867
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I9646a45d61153499ad3d580a03d930ed20e23cda
Gerrit-Change-Number: 20867
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <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/20201024/bc43d6d6/attachment.htm>


More information about the gerrit-log mailing list