From 91652c8dbe518cc7e7cd31197e6f2f5139904149 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 24 Oct 2020 05:08:42 +0700 Subject: main: separate model-specific arguments in help Change-Id: I9646a45d61153499ad3d580a03d930ed20e23cda --- src/osmo-bts-litecell15/main.c | 3 ++- src/osmo-bts-oc2g/main.c | 3 ++- src/osmo-bts-octphy/main.c | 1 + src/osmo-bts-sysmo/main.c | 2 +- 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" -- cgit v1.2.3