diff options
| -rw-r--r-- | doc/snake3.man | 2 | ||||
| -rw-r--r-- | snake.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/snake3.man b/doc/snake3.man index 462fc57..1cd8446 100644 --- a/doc/snake3.man +++ b/doc/snake3.man @@ -15,7 +15,7 @@ keys to navigate. \fB--version\fP \-\- Displays version info, and license information. -\fB--usage\fP +\fB--help\fP \-\- Displays the usage information for the snake3 program. .SH AUTHORS @@ -32,8 +32,8 @@ int main(int argc, char **argv) { printf("This software was licensed under the MIT license;\n"); printf("for more information, see the license file.\n"); return 0; - } else if (strcmp("--usage", argv[i]) == 0) { - printf("usage: snake3 [--version] [--usage]\n"); + } else if (strcmp("--help", argv[i]) == 0) { + printf("usage: snake3 [--version] [--help]\n"); return 0; } } |
