Skip to content

Commit

Permalink
CLI: Add missing parameters to add/edit commands
Browse files Browse the repository at this point in the history
This adds the `-c` parameter to the password generator when adding/editing entries via the CLI.
  • Loading branch information
droidmonkey committed Mar 29, 2022
1 parent fc5a07b commit ad61d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/Add.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Add::Add()
options.append(Generate::ExcludeCharsOption);
options.append(Generate::ExcludeSimilarCharsOption);
options.append(Generate::IncludeEveryGroupOption);
options.append(Generate::CustomCharacterSetOption);
}

int Add::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
Expand Down
1 change: 1 addition & 0 deletions src/cli/Edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Edit::Edit()
options.append(Generate::ExcludeCharsOption);
options.append(Generate::ExcludeSimilarCharsOption);
options.append(Generate::IncludeEveryGroupOption);
options.append(Generate::CustomCharacterSetOption);
}

int Edit::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
Expand Down

0 comments on commit ad61d71

Please sign in to comment.