This is an automated email from the ASF dual-hosted git repository.

ssulav pushed a commit to branch HDDS-14755
in repository https://gitbox.apache.org/repos/asf/ozone-installer.git


The following commit(s) were added to refs/heads/HDDS-14755 by this push:
     new cadb0eb  Update the help text
cadb0eb is described below

commit cadb0eb7bc34532c01aa9f3fa28afa957bb245d5
Author: Soumitra Sulav <[email protected]>
AuthorDate: Thu Mar 5 00:47:28 2026 +0530

    Update the help text
---
 ozone_installer.py | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/ozone_installer.py b/ozone_installer.py
index c9b9796..4b977e9 100755
--- a/ozone_installer.py
+++ b/ozone_installer.py
@@ -90,7 +90,8 @@ def get_logger(log_path: Optional[Path] = None) -> 
logging.Logger:
 
 def parse_args(argv: List[str]) -> argparse.Namespace:
     p = argparse.ArgumentParser(
-        description="Ozone Ansible Installer (Python trigger) - mirrors bash 
installer flags"
+        description="Ozone Ansible Installer (Python trigger) - mirrors bash 
installer flags",
+        formatter_class=argparse.RawTextHelpFormatter,
     )
     p.add_argument("-H", "--host", help="Target host(s). Non-HA: host. HA: 
comma-separated or brace expansion host{1..n}")
     p.add_argument("-F", "--host-file", help="Host file. Plain list = 
all-in-one. Use [masters] and [workers] sections for master/worker split")
@@ -116,15 +117,6 @@ def parse_args(argv: List[str]) -> argparse.Namespace:
             "  start    start services (cluster must already be installed)\n"
             "  stop     stop all services\n"
             "  clean    stop all services and remove all install/data dirs\n"
-            "\n'install' is inclusive of 'start' (no need to pass both).\n"
-            "'clean' is inclusive of 'stop' (services are stopped before dirs 
are removed).\n"
-            "'start' and 'stop' cannot be combined.\n"
-            "\nExamples:\n"
-            "  install              → install and start\n"
-            "  start                → start only\n"
-            "  stop                 → stop only\n"
-            "  clean                → stop + remove all dirs\n"
-            "  clean install        → full clean reinstall\n"
         ),
     )
     p.add_argument("--skip-s3g", action="store_true", help="Skip S3 Gateway 
installation and smoke test")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to