Skip to content

Commit

Permalink
Added documentation for the keepassxc-cli create command
Browse files Browse the repository at this point in the history
  • Loading branch information
coelebs committed Oct 4, 2018
1 parent 59ecae3 commit 702011e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/Create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ QSharedPointer<PasswordKey> Create::getPasswordFromStdin()
QSharedPointer<PasswordKey> passwordKey;
QTextStream out(stdout);

out << QObject::tr("Insert password used to encrypt database (Press enter to ignore): ");
out << QObject::tr("Insert password used to encrypt database (Press enter leave blank): ");
out.flush();
QString password = Utils::getPassword();

Expand Down
3 changes: 3 additions & 0 deletions src/cli/keepassxc-cli.1
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Adds a new entry to a database. A password can be generated (\fI-g\fP option), o
.IP "clip [options] <database> <entry> [timeout]"
Copies the password of a database entry to the clipboard. If multiple entries with the same name exist in different groups, only the password for the first one is going to be copied. For copying the password of an entry in a specific group, the group path to the entry should be specified as well, instead of just the name. Optionally, a timeout in seconds can be specified to automatically clear the clipboard.

.IP "create [options] <database>"
Creates a new database with a key file and/or password, the key file will be created if the file that is referred to does not exist. If both the key file and password will be left empty, no database will be created.

.IP "diceware [options]"
Generate a random diceware passphrase.

Expand Down

0 comments on commit 702011e

Please sign in to comment.