322e73a
diff -up patch-2.6.1/src/patch.c.get-arg patch-2.6.1/src/patch.c
322e73a
--- patch-2.6.1/src/patch.c.get-arg	2010-07-27 18:05:26.217150510 +0100
322e73a
+++ patch-2.6.1/src/patch.c	2010-07-27 18:05:47.464150892 +0100
322e73a
@@ -558,7 +558,7 @@ static struct option const longopts[] =
322e73a
   {"remove-empty-files", no_argument, NULL, 'E'},
322e73a
   {"force", no_argument, NULL, 'f'},
322e73a
   {"fuzz", required_argument, NULL, 'F'},
322e73a
-  {"get", no_argument, NULL, 'g'},
322e73a
+  {"get", required_argument, NULL, 'g'},
322e73a
   {"input", required_argument, NULL, 'i'},
322e73a
   {"ignore-whitespace", no_argument, NULL, 'l'},
322e73a
 #ifdef ENABLE_MERGE