diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-22 23:38:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-22 23:42:08 +0100 |
commit | 11f11d7ecb817d1421f8b5340bcced59396d8708 (patch) | |
tree | fc9f0be71e34ca604272cca72de010e3d33fb190 /guix/tests.scm | |
parent | e8fc373900cb3c1ee14db7a88ea6efbfdc810269 (diff) | |
download | guix-patches-11f11d7ecb817d1421f8b5340bcced59396d8708.tar guix-patches-11f11d7ecb817d1421f8b5340bcced59396d8708.tar.gz |
scripts: Don't trigger option hints for short options.
Previously, 'guix install foo -r bar' would crash with a backtrace
because NAME would be #\r (a character instead of a string).
* guix/scripts.scm (parse-command-line)[parse-options-from]: Call
'option-hint' only when NAME is a string.
Diffstat (limited to 'guix/tests.scm')
0 files changed, 0 insertions, 0 deletions