# HG changeset patch # User Yuya Nishihara # Date 1602939441 -32400 # Node ID 4db5671d57d9946df0570c110b655d5a07055960 # Parent 1703a7f9d5b8e4a04a76eec60a5c140b8c613222 help: update command synopsis to clarify "cp --forget" only takes destinations I'm a bit confused while reading 03690079d7dd, which says "a destination file", but the code loops over matched files. diff -r 1703a7f9d5b8 -r 4db5671d57d9 mercurial/commands.py --- a/mercurial/commands.py Tue Oct 13 14:16:21 2020 -0400 +++ b/mercurial/commands.py Sat Oct 17 21:57:21 2020 +0900 @@ -2351,7 +2351,7 @@ ] + walkopts + dryrunopts, - _(b'[OPTION]... SOURCE... DEST'), + _(b'[OPTION]... (SOURCE... DEST | --forget DEST...)'), helpcategory=command.CATEGORY_FILE_CONTENTS, ) def copy(ui, repo, *pats, **opts):