Skip to content
Snippets Groups Projects
Unverified Commit 3dd28aa3 authored by Oleg Pykhalov's avatar Oleg Pykhalov
Browse files

describe: Fix 'format' option.

Fix ‘guix describe’ ignores ‘--format=FORMAT’ option.

* guix/scripts/describe.scm (%options): Fix 'format' option.
parent ab5d91dd
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ (define %options ...@@ -40,7 +40,7 @@ (define %options
(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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment