Add short option for --bot in submit_try
(SkipBuildbotRuns)
Review URL: https://codereview.chromium.org/13133011
git-svn-id: http://skia.googlecode.com/svn/trunk@8460 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/submit_try b/tools/submit_try
index 3f299fb..5c3c3e5 100755
--- a/tools/submit_try
+++ b/tools/submit_try
@@ -148,7 +148,7 @@
"""submit_try: Submit a try request.
submit_try %s--bot <buildername> [<buildername> ...]
---bot Builder on which to run the try. Required.
+-b, --bot Builder on which to run the try. Required.
-h, --help Show this message.
-r <revision#> Revision from which to run the try.
-l, --list_bots List the available try builders and exit.
@@ -171,7 +171,7 @@
elif arg == '-l' or arg == '--list_bots':
print 'submit_try: Available builders:\n %s' % '\n '.join(trybots)
sys.exit(0)
- elif arg == '--bot':
+ elif arg == '-b' or arg == '--bot':
if using_bots:
Error('--bot specified multiple times.')
if len(argv) < 1: