# HG changeset patch # User Anton Shestakov # Date 1562119311 -28800 # Node ID 50eacdeea88c97c2269ed1fa02413ac93201a2d8 # Parent 30033d56758f688a37342a2040a938a3b20b9a7c copy: correct synopsis by making SOURCE a required argument diff -r 30033d56758f -r 50eacdeea88c 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