Skip to content

Commit dc89a24

Browse files
author
Anand
committed
Updated README.md
1 parent 45b7f21 commit dc89a24

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Usage
7979
-e --encrypt Encrypt the current database
8080
-U --use-db <path> Set as active database
8181
-d --decrypt <path> Decrypt password database
82-
-C --copy <id> Copy an entry
82+
-C --clone <id> Clone an entry
8383
-R --remove <id> Remove an entry
8484
-A --add Add a new entry
8585
-I --init <path> Initialize a new database
@@ -99,6 +99,7 @@ Usage
9999

100100
FLAGS:
101101

102+
-c --copy Copy password to clipboard
102103
-s --show Show passwords when listing entries
103104

104105

@@ -194,9 +195,9 @@ For more on listing see the [Listing and Searching](#listing-and-searching) sect
194195

195196
(*-s* turns on visible passwords)
196197

197-
## Copy an entry
198+
## Clone an entry
198199

199-
To copy or clone an entry,
200+
To clone (copy) an entry,
200201

201202
$ $ varuh -C 1
202203
Cloned to new entry, id: 2
@@ -382,6 +383,12 @@ By default the listing is in ascending ID order. This can be changed in the conf
382383

383384
To turn on visible passwords, modify the configuration setting (see below) or use the `-s` flag.
384385

386+
## Copy password to clipboard
387+
388+
To copy a password to clipboard, use the `-c` or `--copy` flag. This works *only if* the result for a listing is single. For example this will work when listing an entry by id or when a search results in a single hit. It *will not work* when listing all entries or when a search results in multiple hits.
389+
390+
This is useful to copy the password to a password input field in the browser for example.
391+
385392
## See current active database path
386393

387394
$ varuh -p

0 commit comments

Comments
 (0)