From 63cbb91cc9948e021068ebc651a722e9760da901 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 15 Oct 2015 00:34:47 +0200 Subject: [PATCH] Improve the usage screen --- tools/configctl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/configctl.c b/tools/configctl.c index 3194288..67aa74d 100644 --- a/tools/configctl.c +++ b/tools/configctl.c @@ -169,7 +169,12 @@ static int _usage(void) { fputs("Usage: " PROGNAME " -f filename -a\n" " " PROGNAME " -f filename [-qv] [section.]key...\n" -" " PROGNAME " -w -f filename [-v] [section.]key[=value]...\n", stderr); +" " PROGNAME " -w -f filename [-qv] [section.]key[=value]...\n" +" -a\tList every key of every section available\n" +" -f\tFilename to parse or update\n" +" -q\tQuiet mode\n" +" -v\tVerbose mode\n" +" -w\tSet and save values\n", stderr); return 1; }