Skip to content

Commit a99d4c7

Browse files
committed
update usage infos
1 parent 2e7cd46 commit a99d4c7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

midimonster.c

+7-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ static void version(){
3535
static int usage(char* fn){
3636
version();
3737
fprintf(stderr, "Usage:\n");
38-
fprintf(stderr, "\t%s <configfile>\n", fn);
38+
fprintf(stderr, "\t%s [<options>] <configfile>\n", fn);
39+
fprintf(stderr, "\nOptions:\n");
40+
fprintf(stderr, "\t-v,--version - show version\n");
41+
fprintf(stderr, "\t-b <backend> - override backend options (can be used multiple times)\n");
42+
fprintf(stderr, "\t-i <instance> - override instance options (can be used multiple times)\n");
43+
fprintf(stderr, "\nInstance/Backend options format:\n");
44+
fprintf(stderr, "<instance/backend>.<option>=<value>\n");
3945
return EXIT_FAILURE;
4046
}
4147

0 commit comments

Comments
 (0)