Skip to content

Commit

Permalink
mogadm: document "readonly" state for hosts
Browse files Browse the repository at this point in the history
No code changes, just makes the help text nicer.
  • Loading branch information
Eric Wong committed Nov 7, 2015
1 parent efd547e commit b291b3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mogadm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ my $usage = {
args => "<hostname> [opts]",
opts => {
"<hostname>" => "Hostname of machine",
"--status=s" => "One of {alive,down}. Default 'down'.",
"--status=s" => "One of {alive,down,readonly}. Default 'down'.",
"--ip=s" => "IP address of machine.",
"--port=i" => "HTTP port of mogstored",
"--getport=i" => "Alternate HTTP port serving readonly traffic",
Expand All @@ -51,7 +51,7 @@ my $usage = {
args => "<hostname> [opts]",
opts => {
"<hostname>" => "Host name.",
"--status=s" => "One of {alive,down}.",
"--status=s" => "One of {alive,down,readonly}.",
"--ip=s" => "IP address of machine.",
"--port=i" => "HTTP port of mogstored",
"--getport=i" => "Alternate HTTP port serving readonly traffic",
Expand All @@ -64,7 +64,7 @@ my $usage = {
args => "<hostname> <status>",
opts => {
"<hostname>" => "Host name to bring up or down.",
"<status>" => "One of {alive,down}.",
"<status>" => "One of {alive,down,readonly}.",
}
},
delete => {
Expand Down Expand Up @@ -1597,7 +1597,7 @@ network.
=item B<--status=E<lt>host statusE<gt>>
Valid host statuses are one of: alive, down, dead.
Valid host statuses are one of: alive, down, readonly.
=back
Expand Down

0 comments on commit b291b3d

Please sign in to comment.