diff options
author | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-01 16:15:31 -0700 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-01 16:15:31 -0700 |
commit | bb31f0eb4a88c57c9a6a8b416476881fb7035011 (patch) | |
tree | 740d701a99acc4ca13094751fb55874b4a1e0815 /pinentry-rofi.scm | |
parent | 23957c71079683daef81e376dedd212e59d1690d (diff) | |
download | pinentry-rofi-bb31f0eb4a88c57c9a6a8b416476881fb7035011.tar.gz |
Renamed --debug to --log (#4)
Most pinentry tools have an `--debug` option which takes no
arguments. So should probably reserve the same for pinentry-rofi.
Diffstat (limited to 'pinentry-rofi.scm')
-rwxr-xr-x | pinentry-rofi.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pinentry-rofi.scm b/pinentry-rofi.scm index f7aaf0f..8ce478a 100755 --- a/pinentry-rofi.scm +++ b/pinentry-rofi.scm @@ -213,13 +213,13 @@ touch-file=/run/user/1000/gnupg/S.gpg-agent" '((display (single-char #\d) (value #t)) (xauthority (single-char #\a) (value #t)) (version (single-char #\v) (value #f)) - (debug (value #t)) + (log (value #t)) (help (single-char #\h) (value #f)))) (default-display ":0") (options (getopt-long (command-line) option-spec)) (pinentry (make-pinentry #t "Passphrase:" "" #f (option-ref options 'display default-display) - (let ((logfile (option-ref options 'debug #f))) + (let ((logfile (option-ref options 'log #f))) (when logfile (open-output-file (format #f "~a.~a" logfile (getpid)))))))) @@ -228,7 +228,7 @@ touch-file=/run/user/1000/gnupg/S.gpg-agent" Usage: ~a [OPTIONS] Options: -d, --display DISPLAY Set display, default is ~s. - --debug LOGFILE Run in debug mode and output log to LOGFILE + --log LOGFILE Log unknown commands to LOGFILE -v, --version Display version. -h, --help Display this help. Author: |