mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-01 06:46:30 -04:00
Remove "delete" argument of whitelist (now just "del")
Former-commit-id: 7579fc06b08917e3c7ea02cc2769df7f48044b82 [formerly 8dfdc2ff8c]
Former-commit-id: 6b2ff6e8853d206ed063e17f38e62d2f9562bed8
This commit is contained in:
+2
-2
@@ -457,7 +457,7 @@ def print_info(): # prints help text based on argument
|
||||
print(' setup set up the quick-unlock whitelist')
|
||||
print(' list/-l view all registered device ids and their quick-unlock whitelist status')
|
||||
print(' add whitelist a device id for quick-unlock')
|
||||
print(' delete/del remove a device id from the quick-unlock whitelist\n')
|
||||
print(' del remove a device id from the quick-unlock whitelist\n')
|
||||
|
||||
|
||||
def no_arg(): # displays a list of entries and gives an option to select one for viewing
|
||||
@@ -881,7 +881,7 @@ if __name__ == "__main__":
|
||||
if arguments[arg_start_p] == 'list' or arguments[arg_start_p] == '-l':
|
||||
success_flag = True
|
||||
whitelist_list()
|
||||
elif arguments[arg_start_p] in ['add', 'delete', 'del']:
|
||||
elif arguments[arg_start_p] in ['add', 'del']:
|
||||
success_flag = True
|
||||
whitelist_manage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user