From fdc0fa4bd2afed8f7638f746e91f38efe17d69f8 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 28 Jan 2025 00:56:28 +0200 Subject: [PATCH] Fix help page indent and display all existing options for consistency --- virtualmin-install.sh | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index 8e9a809..4d3fed5 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -44,28 +44,31 @@ usage() { echo echo " If called without arguments, installs Virtualmin with default options." echo - printf " --bundle|-b bundle to install (default: LAMP)\\n" - printf " --type|-t install type (default: full)\\n" - printf " --branch|-B install branch (default: stable)\\n" - printf " --os-grade|-g operating system support grade (default: A)\\n" - printf " --module|-o load custom module in post-install phase\\n" + printf " --bundle|-b bundle to install (default: LAMP)\\n" + printf " --type|-t 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 \\n" + printf " install branch (default: stable)\\n" + printf " --os-grade|-g operating system support grade (default: A)\\n" echo - printf " --setup|-s reconfigure repos without installing\\n" - printf " --connect|-C 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 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 }