More examples at the end of trychange.py help and move the -R flag to the right group
Review URL: http://codereview.chromium.org/2408001
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@48606 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gcl.py b/gcl.py
index c8756e1..a1596f1 100755
--- a/gcl.py
+++ b/gcl.py
@@ -871,10 +871,13 @@
else:
trychange_args.extend(args)
file_list = None
- return trychange.TryChange(trychange_args,
- file_list=file_list,
- swallow_exception=swallow_exception,
- prog='gcl try')
+ return trychange.TryChange(
+ trychange_args,
+ file_list=file_list,
+ swallow_exception=swallow_exception,
+ prog='gcl try',
+ extra_epilog='\n'
+ 'When called from gcl, use the format gcl try <change_name>.\n')
@need_change_and_args