From 02009c781da3e586546fed7cbb533e7bd683522b Mon Sep 17 00:00:00 2001 From: "borenet@google.com" Date: Mon, 1 Apr 2013 17:59:16 +0000 Subject: [PATCH] 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 --- tools/submit_try | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ def ValidateArgs(argv, trybots, is_svn=True): """submit_try: Submit a try request. submit_try %s--bot [ ...] ---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 from which to run the try. -l, --list_bots List the available try builders and exit. @@ -171,7 +171,7 @@ submit_try %s--bot [ ...] 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: -- 2.7.4