diff options
| author | Preston Pan <preston@nullring.xyz> | 2023-02-06 10:37:22 -0800 |
|---|---|---|
| committer | Preston Pan <preston@nullring.xyz> | 2023-02-06 10:37:22 -0800 |
| commit | 030695f7a6834d0e32d960e37a164b8f757e7cef (patch) | |
| tree | 564f0a8457f7c0f5f6134c8bd4a1eb0f1640e46b | |
| parent | 84a5294a55de3ba31cc3c564494c8b5fd61d4732 (diff) | |
renamed usage to help
| -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; } } |
