Lines Matching refs:args
306 def desc_format(*args): argument
308 for arg in args:
386 args = parser.parse_args() variable
388 obj_transport = get_transport(args.mode.lower(), args.name)
394 if args.secver is None:
402 args.secver = int(not has_capability(obj_transport, 'no_sec'))
403 print('Security scheme determined to be :', args.secver)
405 if (args.secver != 0) and not has_capability(obj_transport, 'no_pop'):
406 if len(args.pop) == 0:
409 elif len(args.pop) != 0:
411 args.pop = ''
413 obj_security = get_security(args.secver, args.pop, args.verbose)
418 if args.version != '':
420 if not version_match(obj_transport, args.version, args.verbose):
432 if args.custom_config:
434 if not custom_config(obj_transport, obj_security, args.custom_info, args.custom_ver):
439 if args.custom_data != '':
441 if not custom_data(obj_transport, obj_security, args.custom_data):
446 if args.ssid == '':
455 APs = scan_wifi_APs(args.mode.lower(), obj_transport, obj_security)
485 args.ssid = APs[select - 1]['ssid']
486 prompt_str = 'Enter passphrase for {0} : '.format(args.ssid)
487 args.passphrase = getpass(prompt_str)
490 if not send_wifi_config(obj_transport, obj_security, args.ssid, args.passphrase):