mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
commands: clarify which aliases "hg help -v" show (issue2572)
This commit is contained in:
parent
d0859ad723
commit
d2eec2cbbc
@ -1881,7 +1881,7 @@ def help_(ui, name=None, with_version=False, unknowncmd=False):
|
||||
msg = _('use "hg help" for the full list of commands '
|
||||
'or "hg -v" for details')
|
||||
elif aliases:
|
||||
msg = _('use "hg -v help%s" to show aliases and '
|
||||
msg = _('use "hg -v help%s" to show builtin aliases and '
|
||||
'global options') % (name and " " + name or "")
|
||||
else:
|
||||
msg = _('use "hg -v help %s" to show global options') % name
|
||||
|
@ -347,7 +347,7 @@ Testing -h/--help:
|
||||
hgweb Configuring hgweb
|
||||
glossary Glossary
|
||||
|
||||
use "hg -v help" to show aliases and global options
|
||||
use "hg -v help" to show builtin aliases and global options
|
||||
|
||||
$ hg --help
|
||||
Mercurial Distributed SCM
|
||||
@ -423,7 +423,7 @@ Testing -h/--help:
|
||||
hgweb Configuring hgweb
|
||||
glossary Glossary
|
||||
|
||||
use "hg -v help" to show aliases and global options
|
||||
use "hg -v help" to show builtin aliases and global options
|
||||
|
||||
Not tested: --debugger
|
||||
|
||||
|
@ -118,7 +118,7 @@ Short help:
|
||||
hgweb Configuring hgweb
|
||||
glossary Glossary
|
||||
|
||||
use "hg -v help" to show aliases and global options
|
||||
use "hg -v help" to show builtin aliases and global options
|
||||
|
||||
$ hg -q help
|
||||
add add the specified files on the next commit
|
||||
@ -416,7 +416,7 @@ Test ambiguous command help
|
||||
add add the specified files on the next commit
|
||||
addremove add all new files, delete all missing files
|
||||
|
||||
use "hg -v help ad" to show aliases and global options
|
||||
use "hg -v help ad" to show builtin aliases and global options
|
||||
|
||||
Test command without options
|
||||
|
||||
@ -716,7 +716,7 @@ Test that default list of commands omits extension commands
|
||||
hgweb Configuring hgweb
|
||||
glossary Glossary
|
||||
|
||||
use "hg -v help" to show aliases and global options
|
||||
use "hg -v help" to show builtin aliases and global options
|
||||
|
||||
Test list of commands with command with no help text
|
||||
|
||||
@ -727,7 +727,7 @@ Test list of commands with command with no help text
|
||||
|
||||
nohelp (no help text available)
|
||||
|
||||
use "hg -v help helpext" to show aliases and global options
|
||||
use "hg -v help helpext" to show builtin aliases and global options
|
||||
|
||||
Test a help topic
|
||||
|
||||
|
@ -77,7 +77,7 @@ help
|
||||
qunapplied print the patches not yet applied
|
||||
strip strip changesets and all their descendants from the repository
|
||||
|
||||
use "hg -v help mq" to show aliases and global options
|
||||
use "hg -v help mq" to show builtin aliases and global options
|
||||
|
||||
$ hg init a
|
||||
$ cd a
|
||||
|
Loading…
Reference in New Issue
Block a user