Skip to content

Commit bbe53fa

Browse files
authored
Merge pull request #16 from pythonhacker/development
ref issue #9 - Updated README.md with updated usage
2 parents 15418f0 + d30e229 commit bbe53fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ Usage
7373
usage: varuh [-h|--help] [-I|--init "<value>"] [-d|--decrypt "<value>"]
7474
[-C|--clone "<value>"] [-R|--remove "<value>"] [-U|--use-db
7575
"<value>"] [-f|--find "<value>"] [-E|--edit "<value>"]
76-
[-l|--list-entry "<value>"] [-x|--export "<value>"] [-g|--genpass
77-
"<value>"] [-e|--encrypt] [-A|--add] [-p|--path] [-a|--list-all]
78-
[-s|--show] [-c|--copy] [-v|--version]
76+
[-l|--list-entry "<value>"] [-x|--export "<value>"] [-e|--encrypt]
77+
[-A|--add] [-p|--path] [-a|--list-all] [-g|--genpass] [-s|--show]
78+
[-c|--copy] [-v|--version]
7979

8080
Password manager for the command line for Unix like operating
8181
systems
@@ -92,11 +92,11 @@ Usage
9292
-E --edit <id> Edit entry by <id>
9393
-l --list-entry <id> List entry by <id>
9494
-x --export <filename> Export all entries to <filename>
95-
-g --genpass <length> Generate password of given <length>
9695
-e --encrypt Encrypt the current database
9796
-A --add Add a new entry
9897
-p --path Show current database path
9998
-a --list-all List all entries in current database
99+
-g --genpass Generate a strong password of length from 12 - 16
100100
-s --show Show passwords when listing entries
101101
-c --copy Copy password to clipboard
102102
-v --version Show version information and exit

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func initializeCmdLine(parser *argparse.Parser) map[string]interface{} {
185185
{"A", "add", "Add a new entry", "", ""},
186186
{"p", "path", "Show current database path", "", ""},
187187
{"a", "list-all", "List all entries in current database", "", ""},
188-
{"g", "genpass", "Generate a strong password of length from 8 - 12", "", ""},
188+
{"g", "genpass", "Generate a strong password of length from 12 - 16", "", ""},
189189
{"s", "show", "Show passwords when listing entries", "", ""},
190190
{"c", "copy", "Copy password to clipboard", "", ""},
191191
{"v", "version", "Show version information and exit", "", ""},

0 commit comments

Comments
 (0)