diff --git a/main b/main index 4ed6edd..386fb97 100755 Binary files a/main and b/main differ diff --git a/src/main.c b/src/main.c index 061c52a..48d52e6 100644 --- a/src/main.c +++ b/src/main.c @@ -69,7 +69,7 @@ int file_exists(char path[]) { */ void print_help_and_usage() { fprintf(stdout, - "Help and usage for Wordle:\n" + "Help and usage for wordlec:\n" "\n" "Help:\n" "--wordlist ........... specify a custom wordlist\n" @@ -77,12 +77,6 @@ void print_help_and_usage() { " each new line is separated by '\\n' (Enter/Return)\n" "--verbose .................................... be verbose (show what the program is doing aka debug info)\n" "--help ....................................... show this help screen\n" - "\n" - "Usage:\n" - "\n" - "wordlec ...................................... starts Wordle with the default wordlist\n" - "\n" - "wordlec --wordlist ... starts Wordle with a specified wordlist\n" ); } @@ -156,8 +150,10 @@ void show() { prompt the user for their input */ void prompt(char user_input[]) { + int c; printf(">> "); scanf("%5s", user_input); + while ((c = getchar()) != '\n' && c != EOF); } /*