diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-24 04:35:43 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-24 05:00:33 +0700 |
commit | 0b6e568d05ff689a45bad94da7b433744f2d1e73 (patch) | |
tree | 9caafa33569daced4c6c6f26349f21c9d5e10fea | |
parent | c3a293fde192480e3b3c379fb303e5f4c1f9ed65 (diff) |
main: increase spacing between commands and description
Otherwise it's hard to fit new options with long names.
Change-Id: If9a418545abff6d22602ba07cfd4447f5ace7742
Related: SYS#4910
-rw-r--r-- | src/common/main.c | 20 | ||||
-rw-r--r-- | src/osmo-bts-litecell15/main.c | 7 | ||||
-rw-r--r-- | src/osmo-bts-oc2g/main.c | 7 | ||||
-rw-r--r-- | src/osmo-bts-octphy/main.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 6 |
5 files changed, 22 insertions, 20 deletions
diff --git a/src/common/main.c b/src/common/main.c index c7b821e2..b1b17660 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -67,16 +67,16 @@ extern int g_vty_port_num; static void print_help() { printf( "Some useful options:\n" - " -h --help this text\n" - " -d --debug MASK Enable debugging (e.g. -d DRSL:DOML:DLAPDM)\n" - " -D --daemonize For the process into a background daemon\n" - " -c --config-file Specify the filename of the config file\n" - " -s --disable-color Don't use colors in stderr log output\n" - " -T --timestamp Prefix every log line with a timestamp\n" - " -V --version Print version information and exit\n" - " -e --log-level Set a global log-level\n" - " -i --gsmtap-ip The destination IP used for GSMTAP.\n" - " --vty-ref-xml Generate the VTY reference XML output and exit.\n" + " -h --help this text\n" + " -d --debug MASK Enable debugging (e.g. -d DRSL:DOML:DLAPDM)\n" + " -D --daemonize For the process into a background daemon\n" + " -c --config-file Specify the filename of the config file\n" + " -s --disable-color Don't use colors in stderr log output\n" + " -T --timestamp Prefix every log line with a timestamp\n" + " -V --version Print version information and exit\n" + " -e --log-level Set a global log-level\n" + " -i --gsmtap-ip The destination IP used for GSMTAP.\n" + " --vty-ref-xml Generate the VTY reference XML output and exit.\n" ); bts_model_print_help(); } diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c index a4f04e78..649557be 100644 --- a/src/osmo-bts-litecell15/main.c +++ b/src/osmo-bts-litecell15/main.c @@ -158,9 +158,10 @@ 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" - " -M --pcu-direct Force PCU to access message queue for PDCH dchannel directly\n" - " -p --dsp-trace Set DSP trace flags\n" + printf( " -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 efbe180e..d074ed3c 100644 --- a/src/osmo-bts-oc2g/main.c +++ b/src/osmo-bts-oc2g/main.c @@ -159,9 +159,10 @@ 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" - " -M --pcu-direct Force PCU to access message queue for PDCH dchannel directly\n" - " -p --dsp-trace Set DSP trace flags\n" + printf( " -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 928a4c81..caf0f8d2 100644 --- a/src/osmo-bts-octphy/main.c +++ b/src/osmo-bts-octphy/main.c @@ -55,7 +55,7 @@ extern bool no_fw_check; int bts_model_print_help() { - printf(" -I --no-fw-check Override firmware version check\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 735768c9..306e5575 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -122,9 +122,9 @@ 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" - " -M --pcu-direct Force PCU to access message queue for " - "PDCH dchannel directly\n" + " -w --hw-version Print the targeted HW Version\n" + " -M --pcu-direct Force PCU to access message queue for " + "PDCH dchannel directly\n" ); }; |