# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1602939441 -32400 # Sat Oct 17 21:57:21 2020 +0900 # Node ID 83d7de825c015dfa43de228513ca8a75676a8286 # Parent da20256a34d4c5804d7210b6c4f83767907508e6 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 --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2343,7 +2343,7 @@ def continuecmd(ui, repo, **opts): ] + walkopts + dryrunopts, - _(b'[OPTION]... SOURCE... DEST'), + _(b'[OPTION]... (SOURCE... DEST | --forget DEST...)'), helpcategory=command.CATEGORY_FILE_CONTENTS, ) def copy(ui, repo, *pats, **opts): _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel