Commit 3bcc6ceb authored by estade@chromium.org's avatar estade@chromium.org

Pass "gcl help upload" to upload.py.

Review URL: http://codereview.chromium.org/113303

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15911 0039d316-1c4b-4281-b951-d872f2087c98
parent 00c41e45
......@@ -555,9 +555,13 @@ def Opened():
def Help(argv=None):
if argv and argv[0] == 'try':
TryChange(None, ['--help'], swallow_exception=False)
return
if argv:
if argv[0] == 'try':
TryChange(None, ['--help'], swallow_exception=False)
return
if argv[0] == 'upload':
upload.RealMain(['upload.py', '--help'])
return
print (
"""GCL is a wrapper for Subversion that simplifies working with groups of files.
......@@ -615,6 +619,9 @@ Advanced commands:
code. To send multiple changes as one path, use a comma-separated list
of changenames.
--> Use 'gcl help try' for more information!
gcl help [command]
Print this help menu, or help for the given command if it exists.
""")
def GetEditor():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment