mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +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:
@@ -103,7 +103,10 @@ class LoadLayer3(Realm):
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Client Admission Test Script")
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="test_client_admission.py",
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
description="Client Admission Test Script")
|
||||
parser.add_argument('-hst', '--host', type=str, help='host name')
|
||||
parser.add_argument('-s', '--ssid', type=str, help='ssid for client')
|
||||
parser.add_argument('-pwd', '--passwd', type=str, help='password to connect to ssid')
|
||||
|
||||
Reference in New Issue
Block a user