Commit 2e60ae94 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

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.
parent 1703a7f9d5b8
......@@ -2351,7 +2351,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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment