summarylogtreecommitdiffstats
path: root/basename.patch
diff options
context:
space:
mode:
Diffstat (limited to 'basename.patch')
-rw-r--r--basename.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/basename.patch b/basename.patch
new file mode 100644
index 000000000000..59d94270a6c2
--- /dev/null
+++ b/basename.patch
@@ -0,0 +1,13 @@
+diff --git a/main.cpp b/main.cpp
+index beebb1d..13dca56 100644
+--- a/main.cpp
++++ b/main.cpp
+@@ -30,7 +30,7 @@ bool convert(std::string filePath, auto width, auto height, auto alphaThreshold,
+ }
+
+ int main(int argc, const char** argv) {
+- argparse::ArgumentParser program("tgs-to-gif");
++ argparse::ArgumentParser program(basename(argv[0]));
+
+ program.add_argument("path")
+ .required()