changeset 50579:720a23405fe9

debug: update usage strings of debugignore and debugnodemap Multiple files can be specified for debugignore. debugnodemap does not take a revision argument.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 31 May 2023 12:01:25 -0300
parents 003418163195
children 9dcb00842769
files mercurial/debugcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Wed May 31 12:00:21 2023 -0300
+++ b/mercurial/debugcommands.py	Wed May 31 12:01:25 2023 -0300
@@ -1845,7 +1845,7 @@
     bundle2.writebundle(ui, bundle, bundlepath, bundletype)
 
 
-@command(b'debugignore', [], b'[FILE]')
+@command(b'debugignore', [], b'[FILE]...')
 def debugignore(ui, repo, *files, **opts):
     """display the combined ignore pattern and information about ignored files
 
@@ -2628,7 +2628,7 @@
             ),
         ]
     ),
-    _(b'-c|-m|FILE REV'),
+    _(b'-c|-m|FILE'),
 )
 def debugnodemap(ui, repo, file_=None, **opts):
     """write and inspect on disk nodemap"""