"man git-checkout", man page is inconsistent between SYNOPSIS and details
- From
Robert P. J. Day <rpjday@crashcourse.ca>
- Date
- Sep 30, 2017, 09:27 UTC
- Message-ID
- <alpine.LFD.2.21.1709300523190.27819@localhost.localdomain>
just noticed that in "man git-checkout", the SYNOPSIS contains the line:
git checkout [-p|--patch] [<tree-ish>] [--] [<paths>...]
implying that <paths> is optional, but further down in the DESCRIPTION, one reads:
git checkout [-p|--patch] [<tree-ish>] [--] <pathspec>...
suggesting that <pathspec> is required.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================