mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +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:
@@ -137,7 +137,10 @@ class Layer3Test(LFCliBase):
|
||||
|
||||
def main():
|
||||
# This has --mgr, --mgr_port and --debug
|
||||
parser = LFCliBase.create_basic_argparse(prog="layer3_test.py", formatter_class=argparse.RawTextHelpFormatter, epilog="About This Script")
|
||||
parser = LFCliBase.create_basic_argparse(
|
||||
prog="layer3_test.py",
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
epilog="About This Script")
|
||||
|
||||
# Adding More Arguments for custom use
|
||||
parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="1m")
|
||||
|
||||
Reference in New Issue
Block a user