diff --git a/contrib/scripts/astgenkey b/contrib/scripts/astgenkey
index 6376048961097ccb6ee3a13e7bc0bc8c809b2465..c76249186e71e8bb1e7dc9aa0e7665574c20694f 100644
--- a/contrib/scripts/astgenkey
+++ b/contrib/scripts/astgenkey
@@ -32,7 +32,7 @@ if [ "$QUIET" != 'y' ]; then
 	echo "need to be moved to /var/lib/asterisk/keys if you want"
 	echo "to use them, and any private keys (.key files) will"
 	echo "need to be initialized at runtime either by running"
-	echo "Asterisk with the '-i' option, or with the 'init keys'"
+	echo "Asterisk with the '-i' option, or with the 'keys init'"
 	echo "command once Asterisk is running."
 	echo ""
 	echo "Press ENTER to continue or ^C to cancel."
diff --git a/contrib/scripts/astgenkey.8 b/contrib/scripts/astgenkey.8
index 063feca809536c17efecdb5c8545c6f2713cfff9..b32bf5d91223f635541d228db272ec6e58e43e1a 100644
--- a/contrib/scripts/astgenkey.8
+++ b/contrib/scripts/astgenkey.8
@@ -94,7 +94,7 @@ Those files should be copied to
 To see the currently-installed keys from the asterisk CLI, use the command
 
 .RS
-show keys
+keys show
 .RE
 
 .SH OPTIONS