bzr revert --help doesn't mention bzr revert's -r option
Bug #61392 reported by
Matthew Paul Thomas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Aaron Bentley |
Bug Description
bzr revert -rY..X FILE reverts the changes made to FILE between revisions X and Y. However, bzr revert --help doesn't mention this.
Changed in bzr: | |
importance: | Untriaged → Low |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew Paul Thomas wrote:
> Public bug reported:
>
> bzr revert -rY..X FILE reverts the changes made to FILE between
> revisions X and Y.
Actually, revert -r only accepts one argument, not two. Revert doesn't
revert changes, it reverts the tree or file(s) to the state it was in at
a given revision (the last one, by default).
> However, bzr revert --help doesn't mention this.
All options* are necessarily documented, because of the way the help
messages are generated. The -r documentation is on the last line of the
help message:
-r ARG, --revision=ARG
This is consistent with all commands that take -r, e.g. diff, status,
merge. I would agree that the documentation could be improved, though.
Aaron enigmail. mozdev. org
* except special global options like --no-plugins, --no-aliases, etc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://
iD8DBQFFETkn0F+ nu1YWqI0RAg56AJ 4kFcPO3AgmyV9VC 54bChlTVLR42wCc CGTo PCnC6za8=
Ey4kzxbvdXtobo4
=Rylo
-----END PGP SIGNATURE-----