aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.c
diff options
context:
space:
mode:
authorJan Düpmeier <j.duepmeier@googlemail.com>2021-11-18 11:29:29 +0100
committerJan Düpmeier <j.duepmeier@googlemail.com>2021-11-18 11:29:29 +0100
commita99d4c7c135821375a6263f2a2289af9c875ab80 (patch)
treeb053247d3703d1060f4cb2e4e09b0b463ea01b23 /midimonster.c
parent2e7cd460753814964148ff78be76583d844365ca (diff)
downloadmidimonster-a99d4c7c135821375a6263f2a2289af9c875ab80.tar.gz
midimonster-a99d4c7c135821375a6263f2a2289af9c875ab80.tar.bz2
midimonster-a99d4c7c135821375a6263f2a2289af9c875ab80.zip
update usage infos
Diffstat (limited to 'midimonster.c')
-rw-r--r--midimonster.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/midimonster.c b/midimonster.c
index b1eafdf..91e81ce 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -35,7 +35,13 @@ static void version(){
static int usage(char* fn){
version();
fprintf(stderr, "Usage:\n");
- fprintf(stderr, "\t%s <configfile>\n", fn);
+ fprintf(stderr, "\t%s [<options>] <configfile>\n", fn);
+ fprintf(stderr, "\nOptions:\n");
+ fprintf(stderr, "\t-v,--version - show version\n");
+ fprintf(stderr, "\t-b <backend> - override backend options (can be used multiple times)\n");
+ fprintf(stderr, "\t-i <instance> - override instance options (can be used multiple times)\n");
+ fprintf(stderr, "\nInstance/Backend options format:\n");
+ fprintf(stderr, "<instance/backend>.<option>=<value>\n");
return EXIT_FAILURE;
}