Added showhelp
This commit is contained in:
@@ -34,7 +34,7 @@ int main(int argc, char *argv[]) {
|
||||
break;
|
||||
case 'h':
|
||||
//show the help page
|
||||
|
||||
showHelp();
|
||||
break;
|
||||
case 'i':
|
||||
//connect to a csoundbox server
|
||||
@@ -111,4 +111,10 @@ void printCursesWelcome(void) {
|
||||
mvprintw(y + 1, x - (strlen(msg2) / 2), msg2);
|
||||
}
|
||||
|
||||
void showHelp(void) {
|
||||
printf("-h: Show the help screen and exit\n");
|
||||
printf("-s: Start the server\n");
|
||||
printf("-i <ip>: connect to a server\n");
|
||||
printf("-l or without arguments: Start local\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user