Skip to content

Commit fdc0fa4

Browse files
committed
Fix help page indent and display all existing options for consistency
1 parent 2709bc1 commit fdc0fa4

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

virtualmin-install.sh

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,31 @@ usage() {
4444
echo
4545
echo " If called without arguments, installs Virtualmin with default options."
4646
echo
47-
printf " --bundle|-b <LAMP|LEMP> bundle to install (default: LAMP)\\n"
48-
printf " --type|-t <full|mini|micro|nano> install type (default: full)\\n"
49-
printf " --branch|-B <unstable|prerelease> install branch (default: stable)\\n"
50-
printf " --os-grade|-g <A|B> operating system support grade (default: A)\\n"
51-
printf " --module|-o load custom module in post-install phase\\n"
47+
printf " --bundle|-b <LAMP|LEMP> bundle to install (default: LAMP)\\n"
48+
printf " --type|-t <full|mini|micro|nano> install type (default: full)\\n"
5249
echo
53-
printf " --hostname|-n force hostname during install\\n"
54-
printf " --no-package-updates|-x skip package updates during install\\n"
50+
printf " --branch|-B <stable|unstable|prerelease>\\n"
51+
printf " install branch (default: stable)\\n"
52+
printf " --os-grade|-g <A|B> operating system support grade (default: A)\\n"
5553
echo
56-
printf " --setup|-s reconfigure repos without installing\\n"
57-
printf " --connect|-C <ipv4|ipv6> test connectivity without installing\\n"
54+
printf " --module|-o load custom module in post-install phase\\n"
5855
echo
59-
printf " --insecure-downloads|-i skip SSL certificate check for downloads\\n"
56+
printf " --hostname|-n force hostname during install\\n"
57+
printf " --no-package-updates|-x skip package updates during install\\n"
6058
echo
61-
printf " --uninstall|-u remove all packages and dependencies\\n"
59+
printf " --setup|-s reconfigure repos without installing\\n"
60+
printf " --connect|-C <ipv4|ipv6> test connectivity without installing\\n"
6261
echo
63-
printf " --force|-f|--yes|-y assume \"yes\" to all prompts\\n"
64-
printf " --force-reinstall|-fr force complete reinstall (not recommended)\\n"
65-
printf " --no-banner|-nb suppress installation messages and warnings\\n"
66-
printf " --verbose|-v enable verbose mode\\n"
67-
printf " --version|-V show installer version\\n"
68-
printf " --help|-h show this help\\n"
62+
printf " --insecure-downloads|-i skip SSL certificate check for downloads\\n"
63+
echo
64+
printf " --uninstall|-u remove all packages and dependencies\\n"
65+
echo
66+
printf " --force|-f|--yes|-y assume \"yes\" to all prompts\\n"
67+
printf " --force-reinstall|-fr force complete reinstall (not recommended)\\n"
68+
printf " --no-banner|-nb suppress installation messages and warnings\\n"
69+
printf " --verbose|-v enable verbose mode\\n"
70+
printf " --version|-V show installer version\\n"
71+
printf " --help|-h show this help\\n"
6972
echo
7073
}
7174

0 commit comments

Comments
 (0)