Chromium Code Reviews| Index: third_party/upload.py |
| diff --git a/third_party/upload.py b/third_party/upload.py |
| index 908edc476a4b9e70886f5c5b81547c3c62502f20..74b97b6a0758f227f466b5e0080c44cef54a3988 100755 |
| --- a/third_party/upload.py |
| +++ b/third_party/upload.py |
| @@ -629,6 +629,8 @@ group.add_option("-j", "--number-parallel-uploads", |
| group = parser.add_option_group("Issue options") |
| group.add_option("-t", "--title", action="store", dest="title", |
| help="New issue subject or new patch set title") |
| +group.add_option("--project", action="store", dest="project", |
| + help="The project the issue belongs to") |
|
iannucci
2014/05/27 18:00:33
This file is a copy of https://code.google.com/p/r
sheyang
2014/06/02 22:56:48
Upload a separate CL https://codereview.appspot.co
|
| group.add_option("-m", "--message", action="store", dest="message", |
| default=None, |
| help="New issue description or new patch set message") |
| @@ -2596,6 +2598,8 @@ def RealMain(argv, data=None): |
| for cc in options.cc.split(','): |
| CheckReviewer(cc) |
| form_fields.append(("cc", options.cc)) |
| + if options.project: |
| + form_fields.append(("project", options.project)) |
| # Process --message, --title and --file. |
| message = options.message or "" |