mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Add dependency + adjust styling.
This commit is contained in:
parent
9cfc862b07
commit
bf9b23539e
@ -28,4 +28,5 @@ target_link_libraries(keepassxc-cli
|
||||
keepassx_core
|
||||
Qt5::Core
|
||||
${GCRYPT_LIBRARIES}
|
||||
${GPGERROR_LIBRARIES}
|
||||
${ZLIB_LIBRARIES})
|
||||
|
@ -60,16 +60,14 @@ int main(int argc, char **argv)
|
||||
argv[i] = argv[i + 1];
|
||||
}
|
||||
argv[argc - 1] = nullptr;
|
||||
argc--;
|
||||
--argc;
|
||||
|
||||
if (commandName == "merge")
|
||||
{
|
||||
if (commandName == "merge") {
|
||||
argv[0] = const_cast<char*>("keepassxc-cli merge");
|
||||
return Merge::execute(argc, argv);
|
||||
}
|
||||
|
||||
if (commandName == "extract")
|
||||
{
|
||||
if (commandName == "extract") {
|
||||
argv[0] = const_cast<char*>("keepassxc-cli extract");
|
||||
return Extract::execute(argc, argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user