Update torus.c

This commit is contained in:
Arkaprabha Chakraborty
2022-05-23 20:29:28 +05:30
parent 5ba714f487
commit 6f6cf1b98a

View File

@@ -202,9 +202,9 @@ int main(int argc, char **argv) {
for (int i = 1; i < argc; ++i) { for (int i = 1; i < argc; ++i) {
if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) { if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) {
#if defined(_WIN32) #if defined(_WIN32)
help("torus.exe"); help(argv[0]);
#elif defined(__linux__) #elif defined(__linux__)
help("torus.out"); help(argv[0]);
#endif #endif
return 0; return 0;
} else if ((strcmp(argv[i], "-f") == 0 || } else if ((strcmp(argv[i], "-f") == 0 ||