Update sites.inc
This commit is contained in:
@@ -191,7 +191,7 @@ NEWSITE(){
|
||||
printf "%-${width}s- %s\n" " -exploits {yes or no}" "(block exploits)"
|
||||
printf "%-${width}s- %s\n" " -secure {yes or no}" "(secure access [nginx/.htpasswd])"
|
||||
echo "}"
|
||||
exit 1;;
|
||||
exit 0;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
@@ -621,6 +621,14 @@ SITEINFO(){
|
||||
case "${1}" in
|
||||
-edit|-e) EDIT=1;;
|
||||
-search|-s) SEARCH=${2};;
|
||||
-h | -help | --help)
|
||||
echo
|
||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
|
||||
width=33
|
||||
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
|
||||
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
|
||||
echo "}"
|
||||
exit 0;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user