aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/scripts/README.getpatch12
-rwxr-xr-xTools/scripts/getpatch2
2 files changed, 7 insertions, 7 deletions
diff --git a/Tools/scripts/README.getpatch b/Tools/scripts/README.getpatch
index 75501b699179..0ed6490adae3 100644
--- a/Tools/scripts/README.getpatch
+++ b/Tools/scripts/README.getpatch
@@ -37,15 +37,15 @@ EXAMPLES
getpatch --mode gnats ports/166692
- or
+ Retrieve all patches attached to PR ports/166692 from Bugzilla BTS:
- getpatch 166692
+ getpatch --mode bz ports/166692
- Gnats is the default BTS and category isn't mandatory.
+ or
- Retrieve all patches attached to PR ports/166692 from Bugzilla BTS:
+ getpatch 166692
- getpatch --mode bz ports/166692
+ Bugzilla is the default BTS and category isn't mandatory.
Retrieve only the latest iteration of the patch:
@@ -82,4 +82,4 @@ BUGS
If you're using getpatch and you encounter a bug or want an improvement
don't hesitate to mail me.
-FreeBSD 14 August 2012 FreeBSD
+FreeBSD 18 June 2014 FreeBSD
diff --git a/Tools/scripts/getpatch b/Tools/scripts/getpatch
index bf8da76cb7f0..037f424c4f69 100755
--- a/Tools/scripts/getpatch
+++ b/Tools/scripts/getpatch
@@ -171,7 +171,7 @@ def main():
parser.add_argument('pr', metavar='pr', type=str, nargs=1,
help='Pr id number')
parser.add_argument('--mode', type=str, choices=['gnats','bz'],
- default='gnats', help='available modes to retrieve patch')
+ default='bz', help='available modes to retrieve patch')
parser.add_argument('--last', action='store_true',
help='only retrieve the latest iteration of a patch')
parser.add_argument('--stdout', action='store_true',