D1270: help: adding a topic on flags
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Nov 8 12:52:31 EST 2017
martinvonz added inline comments.
> +Additionally, some flags, such as --repository, are global and can be used with
> +any command - those are seen in :hg:`help -v`, and can be specified.
The final "and can be specified" sounds a little truncated. Was there supposed to be something after? Or maybe it's no longer needed since you already said "can be used with any command"?
> + --flagname=foo
> + --flagname foo
> + -f=foo
> + -f foo
`-ffoo` is also valid
> + [alias]
> + commit = commit --interactive
Do we recommend overriding the command like this or should the left side be called something else (maybe "icommit")? I really don't know what we recommend here, so don't take my question to imply that you shouldn't do it the way you have done it.
> + hg commit -m "Used value"
should be `committemp` here
> +as described above.
> +Except for list flags, defaults can be overridden on the command line simplify
> +by specifying the flag in that location.
To: rdamazio, #hg-reviewers
Cc: av6, dlax, martinvonz, mercurial-devel
More information about the Mercurial-devel