From b291b3daf2be5f494d18f322cf3498d922c69a74 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 7 Nov 2015 01:45:45 +0000 Subject: [PATCH] mogadm: document "readonly" state for hosts No code changes, just makes the help text nicer. --- mogadm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mogadm b/mogadm index 8030e60..9c5bebb 100755 --- a/mogadm +++ b/mogadm @@ -38,7 +38,7 @@ my $usage = { args => " [opts]", opts => { "" => "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", @@ -51,7 +51,7 @@ my $usage = { args => " [opts]", opts => { "" => "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", @@ -64,7 +64,7 @@ my $usage = { args => " ", opts => { "" => "Host name to bring up or down.", - "" => "One of {alive,down}.", + "" => "One of {alive,down,readonly}.", } }, delete => { @@ -1597,7 +1597,7 @@ network. =item B<--status=Ehost statusE> -Valid host statuses are one of: alive, down, dead. +Valid host statuses are one of: alive, down, readonly. =back