Added dedicated help screen for 'gen'

Former-commit-id: 8ad0a1c9a2da2854d1ba93aa5e95bc75b958805b
Former-commit-id: d23abe8e29918fe40123a40d13bdc2f9d9046732
This commit is contained in:
2023-04-24 15:18:20 -04:00
parent 6c2a2313fb
commit f9aaf16e13
+5
View File
@@ -381,6 +381,11 @@ def print_info():
print(' password/-p\t\tcopy the password of an entry to your clipboard')
print(' url/-l\t\tcopy the url of an entry to your clipboard')
print(' note/-n\t\tcopy the note of an entry to your clipboard\n')
elif arguments[0] == 'gen' and device_type == 'client':
print('\n\u001b[1musage:\u001b[0m sshyp </entry name> gen [flag]\u001b[0m\n')
print('\u001b[1mflags:\u001b[0m')
print(' gen:')
print(' update/-u\t\tgenerate a password for an existing entry\n')
elif arguments[0] == 'whitelist':
if device_type == 'server':
print('\n\u001b[1musage:\u001b[0m sshyp whitelist <flag> [device id]\u001b[0m\n')