aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-09-15 11:50:50 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-15 19:36:19 +0200
commit354d1f3084a1f08c52f37f119f4524eb454b214f (patch)
tree5e96aa1482320f3253a698b42dfe127d56f2fd8a
parentc6a8d09b78e0d71644412c6e52c94d7facff86f6 (diff)
osmo-nitb: obsess about --help formatting.
Make every line use same punctuation style ('.' at the end and start in caps). Insert spaces to have all help texts in a column.
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 351789992..75229b92b 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -91,20 +91,20 @@ static void print_usage()
static void print_help()
{
printf(" Some useful help...\n");
- printf(" -h --help this text\n");
- printf(" -d option --debug=DRLL:DCC:DMM:DRR:DRSL:DNM enable debugging\n");
- printf(" -D --daemonize Fork the process into a background daemon\n");
- printf(" -c --config-file filename The config file to use.\n");
+ printf(" -h --help This text.\n");
+ printf(" -d option --debug=DRLL:DCC:DMM:DRR:DRSL:DNM Enable debugging.\n");
+ printf(" -D --daemonize Fork the process into a background daemon.\n");
+ printf(" -c --config-file filename The config file to use.\n");
printf(" -s --disable-color\n");
- printf(" -l --database db-name The database to use\n");
- printf(" -a --authorize-everyone. Authorize every new subscriber. Dangerous!.\n");
- printf(" -T --timestamp Prefix every log line with a timestamp\n");
- printf(" -V --version. Print the version of OpenBSC.\n");
- printf(" -P --rtp-proxy Enable the RTP Proxy code inside OpenBSC\n");
- printf(" -e --log-level number. Set a global loglevel.\n");
- printf(" -m --mncc-sock Disable built-in MNCC handler and offer socket\n");
- printf(" -C --no-dbcounter Disable regular syncing of counters to database\n");
- printf(" -r --rf-ctl NAME. A unix domain socket to listen for cmds.\n");
+ printf(" -l --database db-name The database to use.\n");
+ printf(" -a --authorize-everyone Authorize every new subscriber. Dangerous!\n");
+ printf(" -T --timestamp Prefix every log line with a timestamp.\n");
+ printf(" -V --version Print the version of OpenBSC.\n");
+ printf(" -P --rtp-proxy Enable the RTP Proxy code inside OpenBSC.\n");
+ printf(" -e --log-level number Set a global loglevel.\n");
+ printf(" -m --mncc-sock Disable built-in MNCC handler and offer socket.\n");
+ printf(" -C --no-dbcounter Disable regular syncing of counters to database.\n");
+ printf(" -r --rf-ctl NAME A unix domain socket to listen for cmds.\n");
}
static void handle_options(int argc, char **argv)