mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
1. Updating argparse commands so they include flags
2. Create check_argparse which allows us to check which flags are or are not included in argparse statements. Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -30,7 +30,10 @@ class CVManager(cv_test):
|
||||
self.build_cv_scenario()
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description='''This is a simple driver script to load a CV Scenario''')
|
||||
parser = argparse.ArgumentParser(
|
||||
prog='cv_manager.py',
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
description='''This is a simple driver script to load a CV Scenario''')
|
||||
parser.add_argument('--scenario', help='Scenario you wish to build')
|
||||
parser.add_argument('--debug', help='Enable debugging', default=False, action="store_true")
|
||||
parser.add_argument('--mgr', default='localhost')
|
||||
|
||||
Reference in New Issue
Block a user