Shell script for key generation.
[shibboleth/sp.git] / configs / keygen.bat
index 49d30a7..f974205 100644 (file)
@@ -12,8 +12,8 @@ set PARAM=
 :opt_start\r
 set PARAM=%1\r
 if not defined PARAM goto opt_end\r
-if %1==-cn goto opt_fqdn\r
-if %1==-years goto opt_years\r
+if %1==-h goto opt_fqdn\r
+if %1==-y goto opt_years\r
 goto usage\r
 :opt_end\r
 \r
@@ -44,7 +44,7 @@ shift
 goto opt_start\r
 \r
 :usage\r
-echo usage: keygen [-cn cert common name to use] [-years years to issue cert]\r
+echo usage: keygen [-h hostname/cn for cert] [-y years to issue cert]\r
 exit /b\r
 \r
 :guess_fqdn\r