Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 45816:4db5671d57d9
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Oct 2020 21:57:21 +0900 |
parents | 74271829ddc0 |
children | 330c258fe7ca |
line wrap: on
line diff
--- 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):