We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295facf commit 45b9e3fCopy full SHA for 45b9e3f
minitox.c
@@ -1315,7 +1315,14 @@ void repl_iterate(){
1315
}
1316
1317
1318
-int main() {
+int main(int argc, char **argv) {
1319
+ if (argc == 2 && strcmp(argv[1], "--help") == 0) {
1320
+ fputs("Usage: minitox\n", stdout);
1321
+ fputs("\n", stdout);
1322
+ fputs("Minitox does not take any arguments.\n", stdout);
1323
+ return 0;
1324
+ }
1325
+
1326
fputs("Type `/guide` to print the guide.\n", stdout);
1327
fputs("Type `/help` to print command list.\n\n",stdout);
1328
0 commit comments