diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-06-17 05:51:15 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-06-17 05:51:15 +0000 |
commit | d6c3787acf186f58e3fda571e77f73bea7324f40 (patch) | |
tree | 541f95fa061e657c41cb4ebd0c2091a12f7223cf | |
parent | 684bc9f48bbd560618bb2c07f5482d28d1519644 (diff) | |
download | lcd4linux-d6c3787acf186f58e3fda571e77f73bea7324f40.tar.gz |
better usage output by Volker Gering
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@804 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | lcd4linux.c | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/lcd4linux.c b/lcd4linux.c index eee332b..148605f 100644 --- a/lcd4linux.c +++ b/lcd4linux.c @@ -69,10 +69,26 @@ static void usage(void) { printf("%s\n", release); printf("%s\n", copyright); - printf("usage: lcd4linux [-h]\n"); - printf(" lcd4linux [-l]\n"); - printf(" lcd4linux [-c key=value] [-i] [-f config-file] [-v] [-p pid-file]\n"); - printf(" lcd4linux [-c key=value] [-F] [-f config-file] [-o output-file] [-q] [-v]\n"); + printf("\n"); + printf("usage:\n"); + printf(" lcd4linux [-h]\n"); + printf(" lcd4linux [-l]\n"); + printf(" lcd4linux [-c key=value] [-i] [-f config-file] [-v] [-p pid-file]\n"); + printf(" lcd4linux [-c key=value] [-F] [-f config-file] [-o output-file] [-q] [-v]\n"); + printf("\n"); + printf("options:\n"); + printf(" -h help\n"); + printf(" -l list available display drivers\n"); + printf(" -c <key>=<value> overwrite entries from the config-file\n"); + printf(" -i enter interactive mode (after display initialisation)\n"); + printf(" -ii enter interactive mode (before display initialisation)\n"); + printf(" -f <config-file> use configuration from <config-file> instead of /etc/lcd4linux.conf\n"); + printf(" -v generate info messages\n"); + printf(" -vv generate debugging messages\n"); + printf(" -p <pid-file> specify a different pid-file location (default is /var/run/lcd4linux.pid)\n"); + printf(" -F do not fork and detach (run in foreground)\n"); + printf(" -o <output-file> write picture to file (raster driver only)\n"); + printf(" -q suppress startup and exit splash screen\n"); } static void interactive_mode(void) |