From 8dfdc2ff8cabb96f7a40edeb79ce65ea91a50412 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sat, 25 Feb 2023 03:07:29 -0500 Subject: [PATCH] Remove "delete" argument of whitelist (now just "del") --- extra/manpage | 4 ++-- lib/sshyp.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/manpage b/extra/manpage index b114e5c..f5afb7e 100644 --- a/extra/manpage +++ b/extra/manpage @@ -1,4 +1,4 @@ -.TH sshyp 1 "21 February 2023" "v1.4.0" "sshyp man page" +.TH sshyp 1 "25 February 2023" "v1.4.0" "sshyp man page" .SH NAME sshyp \- A very simple self-hosted, synchronized password manager for UNIX(-like) systems. Alternative to (and compatible with) pass/password-store. .SH SYNOPSIS @@ -87,7 +87,7 @@ whitelist: setup set up the quick-unlock whitelist list/-l view all registered device ids and their quick-unlock whitelist status add whitelist a device id for quick-unlock - delete/del remove a device id from the quick-unlock whitelist + del remove a device id from the quick-unlock whitelist .SH SETUP sshyp operates on a client-server model, and thus requires you to have access to your own server (whether it be a physical home server or a cloud rental) with remote access via SSH. diff --git a/lib/sshyp.py b/lib/sshyp.py index ac9f587..b1d1dcb 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -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()