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 /snake.c | |
| parent | 84a5294a55de3ba31cc3c564494c8b5fd61d4732 (diff) | |
renamed usage to help
Diffstat (limited to 'snake.c')
| -rw-r--r-- | snake.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |
