Skip to content

Commit ab86f13

Browse files
author
Anand
committed
Clipboard copy flag with password copy support
1 parent c1bd4fa commit ab86f13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

options.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func initializeCommandLine() (map[string]interface{}, map[string]interface{}) {
115115
stringOptions := []Option{
116116
{'I', "init", "<path>", "Initialize a new database", 0},
117117
{'d', "decrypt", "<path>", "Decrypt password database", 0},
118-
{'C', "copy", "<id>", "Copy an entry", 0},
118+
{'C', "clone", "<id>", "Clone an entry", 0},
119119
{'R', "remove", "<id>", "Remove an entry", 0},
120120
{'U', "use-db", "<path>", "Set as active database", 0},
121121
{'f', "find", "<term>", "Search entries", 1},
@@ -135,6 +135,7 @@ func initializeCommandLine() (map[string]interface{}, map[string]interface{}) {
135135
{'p', "path", "", "Show current database path", 1},
136136
{'a', "list-all", "", "List all entries in current database", 1},
137137
{'s', "show", "", "Show passwords when listing entries", 3},
138+
{'c', "copy", "", "Copy password to clipboard", 3},
138139
{'v', "version", "", "Show version information and exit", 2},
139140
{'h', "help", "", "Print this help message and exit", 2},
140141
}

0 commit comments

Comments
 (0)