Yaniv Dary has uploaded a new change for review.

Change subject: packaging: setup now supports option --help (#970543)
......................................................................

packaging: setup now supports option --help (#970543)

Bug-Url: https://bugzilla.redhat.com/970543

Change-Id: I6ae579e3ea2b4927e9074e489484e7bbed7bf052
Signed-off-by: Yaniv Dary <yd...@redhat.com>
---
M packaging/ovirt-engine-dwh-setup.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/36/16536/1

diff --git a/packaging/ovirt-engine-dwh-setup.py 
b/packaging/ovirt-engine-dwh-setup.py
index 614a1d0..518d69a 100755
--- a/packaging/ovirt-engine-dwh-setup.py
+++ b/packaging/ovirt-engine-dwh-setup.py
@@ -17,6 +17,7 @@
 import time
 import traceback
 import glob
+import argparse
 import common_utils as utils
 from decorators import transactionDisplay
 log_file = None
@@ -176,6 +177,11 @@
     rc = 0
     doBackup = None
     backupFile = None
+
+    parser = argparse.ArgumentParser(description='Installs or upgrades your 
oVirt Engine DWH')
+    # Catch when calling ovirt-engine-dwh-setup --help
+    args = parser.parse_args()
+
     try:
         logging.debug("starting main()")
 


-- 
To view, visit http://gerrit.ovirt.org/16536
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ae579e3ea2b4927e9074e489484e7bbed7bf052
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Yaniv Dary <yd...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to