]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
man: fix monmaptool man page
authorLaszlo Boszormenyi <gcs@debian.hu>
Wed, 1 Dec 2010 17:24:45 +0000 (09:24 -0800)
committerSage Weil <sage@newdream.net>
Wed, 1 Dec 2010 17:24:45 +0000 (09:24 -0800)
commit15c272e8df77d1edb41e79fd6f5b425e2da61338
tree281bdd6da6ed7caa6cce59ca30985fb033913927
parent1b06332de69b332092d115451efbd29afec79269
man: fix monmaptool man page

I've found the manpage problem that I've noted before. It's about
monmaptool, the CLI says it's usage:
[--print] [--create [--clobber]] [--add name 1.2.3.4:567] [--rm name]
<mapfilename>
But the manpage states this as an example:
monmaptool --create --add 192.168.0.10:6789 --add 192.168.0.11:6789 --add
192.168.0.12:6789 --clobber monmap
This definitely misses 'name' after the 'add' switch, resulting:
"invalid ip:port '--add'" as an error message. Attached patch fixes this
inconsistency.

Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
man/monmaptool.8