debug: update usage strings of debugignore and debugnodemap
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 31 May 2023 12:01:25 -0300
changeset 50548 720a23405fe9
parent 50547 003418163195
child 50549 9dcb00842769
debug: update usage strings of debugignore and debugnodemap Multiple files can be specified for debugignore. debugnodemap does not take a revision argument.
mercurial/debugcommands.py
--- 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"""