refer to the m-h set-expire instead of m-h extend-key in m-h diagnostics.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 1 Mar 2009 23:05:11 +0000 (18:05 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 1 Mar 2009 23:05:11 +0000 (18:05 -0500)
src/share/mh/diagnostics

index 2f65f899f4cfdd7f0e4aad9fe1304ee50bf46ec2..37460203b9056e490089a357d300882d03fdf339 100644 (file)
@@ -63,11 +63,11 @@ else
     if [ "$expire" ]; then
        if (( "$expire"  < "$curdate" )); then
            echo "! Host key is expired."
-           echo " - Recommendation: extend lifetime of key with 'monkeysphere-host extend-key'"
+           echo " - Recommendation: extend lifetime of key with 'monkeysphere-host set-expire'"
            problemsfound=$(($problemsfound+1))
        elif (( "$expire" < "$warndate" )); then
            echo "! Host key expires in less than $warnwindow:" $(advance_date $(( $expire - $curdate )) seconds +%F)
-           echo " - Recommendation: extend lifetime of key with 'monkeysphere-host extend-key'"
+           echo " - Recommendation: extend lifetime of key with 'monkeysphere-host set-expire'"
            problemsfound=$(($problemsfound+1))
        fi
     fi