Contents of /trunk/patch/patches/patch-2.6.1-get-arg.patch
Parent Directory | Revision Log
Revision 1258 -
(show annotations)
(download)
Tue Jan 25 19:29:39 2011 UTC (13 years, 8 months ago) by niro
File size: 586 byte(s)
Tue Jan 25 19:29:39 2011 UTC (13 years, 8 months ago) by niro
File size: 586 byte(s)
get arg fix
1 | diff -up patch-2.6.1/src/patch.c.get-arg patch-2.6.1/src/patch.c |
2 | --- patch-2.6.1/src/patch.c.get-arg 2010-07-27 18:05:26.217150510 +0100 |
3 | +++ patch-2.6.1/src/patch.c 2010-07-27 18:05:47.464150892 +0100 |
4 | @@ -558,7 +558,7 @@ static struct option const longopts[] = |
5 | {"remove-empty-files", no_argument, NULL, 'E'}, |
6 | {"force", no_argument, NULL, 'f'}, |
7 | {"fuzz", required_argument, NULL, 'F'}, |
8 | - {"get", no_argument, NULL, 'g'}, |
9 | + {"get", required_argument, NULL, 'g'}, |
10 | {"input", required_argument, NULL, 'i'}, |
11 | {"ignore-whitespace", no_argument, NULL, 'l'}, |
12 | #ifdef ENABLE_MERGE |