Fix CLI output when using clip with the -t flag
if you use the CLI with -t/--totp flag, the program prints out: "Entry's "password" attribute copied to the clipboard!" expected output is "Entry's "totp" attribute copied to the clipboard!" the same when you run with -a totp
This commit is contained in:
committed by
Jonathan White
parent
ed7b634dbf
commit
612c1098ea
@@ -116,6 +116,7 @@ int Clip::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
selectedAttribute = "totp";
|
||||
found = true;
|
||||
value = entry->totp();
|
||||
} else if (Utils::EntryFieldNames.contains(selectedAttribute)) {
|
||||
|
||||
Reference in New Issue
Block a user