diff options
Diffstat (limited to 'tools/patman/patman.py')
| -rwxr-xr-x | tools/patman/patman.py | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/tools/patman/patman.py b/tools/patman/patman.py index e049081ea..5000b7db2 100755 --- a/tools/patman/patman.py +++ b/tools/patman/patman.py @@ -49,10 +49,12 @@ parser.add_option('-i', '--ignore-errors', action='store_true',         dest='ignore_errors', default=False,         help='Send patches email even if patch errors are found')  parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run', -       default=False, help="Do a try run (create but don't email patches)") +       default=False, help="Do a dry run (create but don't email patches)")  parser.add_option('-p', '--project', default=project.DetectProject(),                    help="Project name; affects default option values and "                    "aliases [default: %default]") +parser.add_option('-r', '--in-reply-to', type='string', action='store', +                  help="Message ID that this series is in reply to")  parser.add_option('-s', '--start', dest='start', type='int',         default=0, help='Commit to start creating patches from (0 = HEAD)')  parser.add_option('-t', '--test', action='store_true', dest='test', @@ -70,7 +72,7 @@ parser.add_option('--no-tags', action='store_false', dest='process_tags',  parser.usage = """patman [options]  Create patches from commits in a branch, check them and email them as -specified by tags you place in the commits. Use -n to """ +specified by tags you place in the commits. Use -n to do a dry run first."""  # Parse options twice: first to get the project and second to handle @@ -163,7 +165,7 @@ else:      cmd = ''      if ok or options.ignore_errors:          cmd = gitutil.EmailPatches(series, cover_fname, args, -                options.dry_run, cc_file) +                options.dry_run, cc_file, in_reply_to=options.in_reply_to)      # For a dry run, just show our actions as a sanity check      if options.dry_run: |