summaryrefslogtreecommitdiff
path: root/guix/scripts/describe.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-11-21 01:19:54 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-11-21 14:41:13 +0300
commit3dd28aa37cc3f3a6bbb5f7f8d9fb49cc457b0c10 (patch)
tree6d615dc9845ab43b03a670a6a506ab493f51d2c7 /guix/scripts/describe.scm
parentab5d91dd50e6b8711f21051427aaf343d326ab3b (diff)
describe: Fix 'format' option.
Fix ‘guix describe’ ignores ‘--format=FORMAT’ option. * guix/scripts/describe.scm (%options): Fix 'format' option.
Diffstat (limited to 'guix/scripts/describe.scm')
-rw-r--r--guix/scripts/describe.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index e59502076c..d3203e9924 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -40,7 +40,7 @@
(lambda (opt name arg result)
(unless (member arg '("human" "channels"))
(leave (G_ "~a: unsupported output format~%") arg))
- (alist-cons 'format 'channels result)))
+ (alist-cons 'format (string->symbol arg) result)))
(option '(#\h "help") #f #f
(lambda args
(show-help)