describe: Fix 'format' option.
Fix ‘guix describe’ ignores ‘--format=FORMAT’ option. * guix/scripts/describe.scm (%options): Fix 'format' option.
This commit is contained in:
parent
ab5d91dd50
commit
3dd28aa37c
|
@ -40,7 +40,7 @@
|
||||||
(lambda (opt name arg result)
|
(lambda (opt name arg result)
|
||||||
(unless (member arg '("human" "channels"))
|
(unless (member arg '("human" "channels"))
|
||||||
(leave (G_ "~a: unsupported output format~%") arg))
|
(leave (G_ "~a: unsupported output format~%") arg))
|
||||||
(alist-cons 'format 'channels result)))
|
(alist-cons 'format (string->symbol arg) result)))
|
||||||
(option '(#\h "help") #f #f
|
(option '(#\h "help") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
(show-help)
|
(show-help)
|
||||||
|
|
Loading…
Reference in New Issue