Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouib <L0U13@protonmail.com>2019-08-31 05:50:32 +0300
committerJonathan White <support@dmapps.us>2019-08-31 05:50:32 +0300
commiteb1882453f607f2b3b5ad82ea48678f48cb30580 (patch)
tree63075e5dc086e35d994e286d94f374c19bc8cec7 /tests/TestCli.h
parent79bb991a61eb6d40f214b2b67e22b366189dd9c5 (diff)
CLI password generation options cleanup (#3275)
Summary of changes: * Extract function for creating password generator from options into `Generate` command. This function is now reused in `Add` and `Edit` commands. * Updated manpage with missing password generation options. * Updated manpage with missing longer forms of password generation options. * Added unit tests for new password generation options in `Add` and `Edit`. * Handle case when `-g` and `-p` options are used at the same time. This PR adds password generation functionalities while reducing code duplication, but at the cost of 2 small breaking changes: * The password generation option for `Add` and `Edit` for specifying password length is now `-L` instead of `-l`, to not clash with the `-l --lower` option. * The `-u` shorthand for the `--upper` option has to be removed, to not clash with the `-u --username` option. * Add -U variant for uppercase.
Diffstat (limited to 'tests/TestCli.h')
-rw-r--r--tests/TestCli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestCli.h b/tests/TestCli.h
index dcc84c2e3..c012fc807 100644
--- a/tests/TestCli.h
+++ b/tests/TestCli.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018 KeePassXC Team <team@keepassxc.org>
+ * Copyright (C) 2019 KeePassXC Team <team@keepassxc.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by