From d33d07894fef2ea3c8833cad46073443fe9cf811 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sat, 16 Apr 2022 19:12:48 -0400 Subject: [PATCH] Reverted accidental change from last commit --- bin/sshyp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/sshyp b/bin/sshyp index ff2f592..76559dd 100755 --- a/bin/sshyp +++ b/bin/sshyp @@ -216,14 +216,14 @@ def print_info(): # prints help text based on argument 'useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A' ' PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.' '\n\nhttps://opensource.org/licenses/GPL-3.0\n') - elif argument.startswith('add'): + elif argument == 'add': print('\nUSAGE: sshyp add [FLAG] ') print('Flags:') print('add:') print(' password/-p add a password entry') print(' note/-n add a note entry') print(' folder/-f add a new folder for entries\n') - elif argument.startswith('edit'): + elif argument == 'edit': print('\nUSAGE: sshyp edit [FLAG] ') print('Flags:') print('edit:') @@ -232,7 +232,7 @@ def print_info(): # prints help text based on argument print(' password/-p change the password of an entry') print(' url/-l change the url attached to an entry') print(' note/-n change the note attached to an entry\n') - elif argument.startswith('copy'): + elif argument == 'copy': print('\nUSAGE: sshyp copy [FLAG] ') print('Flags:') print('copy:')