add helptext to dev subcmd
This commit is contained in:
parent
b0f31f40c1
commit
93a4ae7d23
1 changed files with 4 additions and 1 deletions
|
|
@ -96,7 +96,10 @@ subcmds_dev(void *, int argc, char *argv[])
|
||||||
system(wpath);
|
system(wpath);
|
||||||
free(wpath);
|
free(wpath);
|
||||||
} else if (strcmp(argv[1], "help") == 0 || strcmp(argv[1], "h") == 0) {
|
} else if (strcmp(argv[1], "help") == 0 || strcmp(argv[1], "h") == 0) {
|
||||||
printf("Help text\n");
|
printf("Usage wom dev [OPTION]...\n");
|
||||||
|
printf(" add\tadd a new path\n");
|
||||||
|
printf(" edit\tedit the config file\n");
|
||||||
|
printf(" help\tshow this help text\n");
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue