changeset 42555:50eacdeea88c stable

copy: correct synopsis by making SOURCE a required argument
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 03 Jul 2019 10:01:51 +0800
parents 30033d56758f
children 93fed084ce36
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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