fix default values
This commit is contained in:
parent
01b8586a8d
commit
608a343968
|
@ -14,10 +14,10 @@ def main():
|
|||
https://github.com/tevslin/cloudflarepycli/blob/main/src/cloudflarepycli/__main__.py
|
||||
"""
|
||||
parser = argparse.ArgumentParser(description='Check internet speed.')
|
||||
parser.add_argument('--warn-up', type=int, default=-1, help='Warn level of upload speed in Mbps.')
|
||||
parser.add_argument('--critical-up', type=int, default=-1, help='Critical level of upload speed in Mbps.')
|
||||
parser.add_argument('--warn-down', type=int, default=-1, help='Warn level of download speed in Mbps.')
|
||||
parser.add_argument('--critical-down', type=int, default=-1, help='Critical level of download speed in Mbps.')
|
||||
parser.add_argument('--warn-up', type=int, default=0, help='Warn level of upload speed in Mbps.')
|
||||
parser.add_argument('--critical-up', type=int, default=0, help='Critical level of upload speed in Mbps.')
|
||||
parser.add_argument('--warn-down', type=int, default=0, help='Warn level of download speed in Mbps.')
|
||||
parser.add_argument('--critical-down', type=int, default=0, help='Critical level of download speed in Mbps.')
|
||||
parser.add_argument('--warn-latency', type=int, default=60, help='Warn level of latency in ms.')
|
||||
parser.add_argument('--critical-latency', type=int, default=100, help='Critical level of latency in ms.')
|
||||
args = parser.parse_args()
|
||||
|
|
Loading…
Reference in New Issue