aboutsummaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/dxvk.c2
-rw-r--r--src/lutris.c2
-rw-r--r--src/main.c2
-rw-r--r--src/wine.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/dxvk.c b/src/dxvk.c
index b4b4fd9..cf4dcb3 100644
--- a/src/dxvk.c
+++ b/src/dxvk.c
@@ -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);
}
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)
diff --git a/src/wine.c b/src/wine.c
index 4a2b10e..596617e 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -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)