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 /gnu/packages.scm | |
parent | e8fc373900cb3c1ee14db7a88ea6efbfdc810269 (diff) | |
download | guix-11f11d7ecb817d1421f8b5340bcced59396d8708.tar.gz guix-11f11d7ecb817d1421f8b5340bcced59396d8708.zip |
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 'gnu/packages.scm')
0 files changed, 0 insertions, 0 deletions