aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-10-12 21:14:29 +0200
committerJan200101 <sentrycraft123@gmail.com>2020-10-12 21:14:29 +0200
commitca3609970c04e16936cbc9e24e2bf113a83cf0eb (patch)
treeead72cb4c6ecfd2154f4deccd5ff1cd7d2aef4e4 /src/main.c
parente9eed79c3691e145c3c8cdb0cb07bbb2b9275874 (diff)
downloadpolecat-ca3609970c04e16936cbc9e24e2bf113a83cf0eb.tar.gz
polecat-ca3609970c04e16936cbc9e24e2bf113a83cf0eb.zip
modify argc and argv for help messages like all other function calls
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 03dc73c..6268543 100644
--- a/src/main.c
+++ b/src/main.c
@@ -30,7 +30,7 @@ int main(int argc, char** argv)
}
}
- return main_help(argc, argv);
+ return main_help(argc-1, argv+1);
}
int main_info(int argc, char** argv)