diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-10-12 21:14:29 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-10-12 21:14:29 +0200 |
commit | ca3609970c04e16936cbc9e24e2bf113a83cf0eb (patch) | |
tree | ead72cb4c6ecfd2154f4deccd5ff1cd7d2aef4e4 | |
parent | e9eed79c3691e145c3c8cdb0cb07bbb2b9275874 (diff) | |
download | polecat-ca3609970c04e16936cbc9e24e2bf113a83cf0eb.tar.gz polecat-ca3609970c04e16936cbc9e24e2bf113a83cf0eb.zip |
modify argc and argv for help messages like all other function calls
-rw-r--r-- | src/dxvk.c | 2 | ||||
-rw-r--r-- | src/lutris.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/wine.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -26,7 +26,7 @@ int dxvk(int argc, char** argv) } } - return dxvk_help(argc, argv); + return dxvk_help(argc-1, argv+1); } diff --git a/src/lutris.c b/src/lutris.c index aa3e085..db4da4c 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -25,7 +25,7 @@ int lutris(int argc, char** argv) } } - return lutris_help(argc, argv); + return lutris_help(argc-1, argv+1); } @@ -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) @@ -36,7 +36,7 @@ int wine(int argc, char** argv) } - return wine_help(argc, argv); + return wine_help(argc-1, argv+1); } int wine_download(int argc, char** argv) |