diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-21 01:19:54 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-21 14:41:13 +0300 |
commit | 3dd28aa37cc3f3a6bbb5f7f8d9fb49cc457b0c10 (patch) | |
tree | 6d615dc9845ab43b03a670a6a506ab493f51d2c7 | |
parent | ab5d91dd50e6b8711f21051427aaf343d326ab3b (diff) | |
download | guix-3dd28aa37cc3f3a6bbb5f7f8d9fb49cc457b0c10.tar guix-3dd28aa37cc3f3a6bbb5f7f8d9fb49cc457b0c10.tar.gz |
describe: Fix 'format' option.
Fix ‘guix describe’ ignores ‘--format=FORMAT’ option.
* guix/scripts/describe.scm (%options): Fix 'format' option.
-rw-r--r-- | guix/scripts/describe.scm | 2 |
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) |