From f9aaf16e13f613e996a90ce8ae8755e139bd3a93 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 24 Apr 2023 15:18:20 -0400 Subject: [PATCH] Added dedicated help screen for 'gen' Former-commit-id: 8ad0a1c9a2da2854d1ba93aa5e95bc75b958805b Former-commit-id: d23abe8e29918fe40123a40d13bdc2f9d9046732 --- lib/sshyp.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/sshyp.py b/lib/sshyp.py index 4f9ff1a..44aee5b 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -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 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 [device id]\u001b[0m\n')