]> git.pld-linux.org Git - packages/gg-convert.git/commitdiff
- Added patch to show help if no argument is given.
authorgozda <gozda@pld-linux.org>
Sat, 25 Sep 2004 15:21:06 +0000 (15:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gg-convert-showhelp.patch -> 1.1

gg-convert-showhelp.patch [new file with mode: 0644]

diff --git a/gg-convert-showhelp.patch b/gg-convert-showhelp.patch
new file mode 100644 (file)
index 0000000..3ee3248
--- /dev/null
@@ -0,0 +1,11 @@
+--- gg-convert/main.cc 2004-09-25 12:46:55.591863040 +0200
++++ gg-convert/main.cc.new     2004-09-25 12:46:07.184222120 +0200
+@@ -31,7 +31,7 @@
+       Convert c(opt.ownerNick());
+       // czy wyswietlic pomoc
+-      if (opt.showHelp()) {
++      if (argc == 1 || opt.showHelp()) {
+               cout << HELP;
+               return 0;
+       }
This page took 0.08491 seconds and 4 git commands to generate.