copy: correct synopsis by making SOURCE a required argument stable
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 03 Jul 2019 10:01:51 +0800
branchstable
changeset 42555 50eacdeea88c
parent 42554 30033d56758f
child 42556 93fed084ce36
copy: correct synopsis by making SOURCE a required argument
mercurial/commands.py
--- a/mercurial/commands.py	Tue Jul 02 10:53:29 2019 +0200
+++ b/mercurial/commands.py	Wed Jul 03 10:01:51 2019 +0800
@@ -1857,7 +1857,7 @@
     [('A', 'after', None, _('record a copy that has already occurred')),
     ('f', 'force', None, _('forcibly copy over an existing managed file')),
     ] + walkopts + dryrunopts,
-    _('[OPTION]... [SOURCE]... DEST'),
+    _('[OPTION]... SOURCE... DEST'),
     helpcategory=command.CATEGORY_FILE_CONTENTS)
 def copy(ui, repo, *pats, **opts):
     """mark files as copied for the next commit