Make CopyArgument() documentation more clear

This commit is contained in:
2025-11-09 18:24:45 -05:00
parent 3506504fb1
commit d49632d221
+2 -1
View File
@@ -14,7 +14,8 @@ import (
) )
// CopyArgument copies a field from an entry to the clipboard. // CopyArgument copies a field from an entry to the clipboard.
// If field is -1, it will not continuously update the clipboard (one-time copy). // If field is -1, it will one-time copy the TOTP code
// (instead of keeping the clipboard up-to-date).
func CopyArgument(targetLocation string, field int) error { func CopyArgument(targetLocation string, field int) error {
// ensure targetLocation exists and is a file // ensure targetLocation exists and is a file
_, err := back.TargetIsFile(targetLocation, true) _, err := back.TargetIsFile(targetLocation, true)