[PATCH] Extend --clip/--qrcode to support copying/displaying non-password fields

Dan Crawford dnlcrwfrd at gmail.com
Thu Apr 25 07:30:30 UTC 2024


Thanks. Yes, I actually agree: -c "field" makes more sense. However,
getopt mandates that optional arguments always have the
form -c"field" --c="field". On the other hand, required arguments can be
used as either -c "field" or -c"field". From the man page:

       A simple short option is a '-' followed by a short option character. If the option has a required
       argument, it may be written directly after the option character or as the next parameter (i.e.,
       separated by whitespace on the command line). If the option has an optional argument, it must be
       written directly after the option character if present.

I don't think there's a simple way around this --- but of course if
anyone has any suggestions that would be great.

Cheers


More information about the Password-Store mailing list