aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-24 05:08:42 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-24 05:08:42 +0700
commit91652c8dbe518cc7e7cd31197e6f2f5139904149 (patch)
treef4b767e60399d280564f602e22c5fdda16b00f58
parent0b6e568d05ff689a45bad94da7b433744f2d1e73 (diff)
main: separate model-specific arguments in help
-rw-r--r--src/osmo-bts-litecell15/main.c3
-rw-r--r--src/osmo-bts-oc2g/main.c3
-rw-r--r--src/osmo-bts-octphy/main.c1
-rw-r--r--src/osmo-bts-sysmo/main.c2
4 files changed, 6 insertions, 3 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index 649557be..e29efd57 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -158,7 +158,8 @@ void bts_update_status(enum bts_global_status which, int on)
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 d074ed3c..9b0ebec3 100644
--- a/src/osmo-bts-oc2g/main.c
+++ b/src/osmo-bts-oc2g/main.c
@@ -159,7 +159,8 @@ void bts_update_status(enum bts_global_status which, int on)
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 caf0f8d2..56849b55 100644
--- a/src/osmo-bts-octphy/main.c
+++ b/src/osmo-bts-octphy/main.c
@@ -55,6 +55,7 @@ extern bool no_fw_check;
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 306e5575..9befcda8 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -121,7 +121,7 @@ void bts_update_status(enum bts_global_status which, int on)
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"