Skip to content

Commit

Permalink
Fix help page indent and display all existing options for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jan 27, 2025
1 parent 2709bc1 commit fdc0fa4
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,31 @@ usage() {
echo
echo " If called without arguments, installs Virtualmin with default options."
echo
printf " --bundle|-b <LAMP|LEMP> bundle to install (default: LAMP)\\n"
printf " --type|-t <full|mini|micro|nano> install type (default: full)\\n"
printf " --branch|-B <unstable|prerelease> install branch (default: stable)\\n"
printf " --os-grade|-g <A|B> operating system support grade (default: A)\\n"
printf " --module|-o load custom module in post-install phase\\n"
printf " --bundle|-b <LAMP|LEMP> bundle to install (default: LAMP)\\n"
printf " --type|-t <full|mini|micro|nano> install type (default: full)\\n"
echo
printf " --hostname|-n force hostname during install\\n"
printf " --no-package-updates|-x skip package updates during install\\n"
printf " --branch|-B <stable|unstable|prerelease>\\n"
printf " install branch (default: stable)\\n"
printf " --os-grade|-g <A|B> operating system support grade (default: A)\\n"
echo
printf " --setup|-s reconfigure repos without installing\\n"
printf " --connect|-C <ipv4|ipv6> test connectivity without installing\\n"
printf " --module|-o load custom module in post-install phase\\n"
echo
printf " --insecure-downloads|-i skip SSL certificate check for downloads\\n"
printf " --hostname|-n force hostname during install\\n"
printf " --no-package-updates|-x skip package updates during install\\n"
echo
printf " --uninstall|-u remove all packages and dependencies\\n"
printf " --setup|-s reconfigure repos without installing\\n"
printf " --connect|-C <ipv4|ipv6> test connectivity without installing\\n"
echo
printf " --force|-f|--yes|-y assume \"yes\" to all prompts\\n"
printf " --force-reinstall|-fr force complete reinstall (not recommended)\\n"
printf " --no-banner|-nb suppress installation messages and warnings\\n"
printf " --verbose|-v enable verbose mode\\n"
printf " --version|-V show installer version\\n"
printf " --help|-h show this help\\n"
printf " --insecure-downloads|-i skip SSL certificate check for downloads\\n"
echo
printf " --uninstall|-u remove all packages and dependencies\\n"
echo
printf " --force|-f|--yes|-y assume \"yes\" to all prompts\\n"
printf " --force-reinstall|-fr force complete reinstall (not recommended)\\n"
printf " --no-banner|-nb suppress installation messages and warnings\\n"
printf " --verbose|-v enable verbose mode\\n"
printf " --version|-V show installer version\\n"
printf " --help|-h show this help\\n"
echo
}

Expand Down

0 comments on commit fdc0fa4

Please sign in to comment.