From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPEU8-0008Qv-Ha for guix-patches@gnu.org; Tue, 20 Nov 2018 17:27:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPEU3-0004Is-7O for guix-patches@gnu.org; Tue, 20 Nov 2018 17:27:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPEU2-0004HF-3t for guix-patches@gnu.org; Tue, 20 Nov 2018 17:27:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPEU1-0002gk-St for guix-patches@gnu.org; Tue, 20 Nov 2018 17:27:01 -0500 Subject: [bug#33448] [PATCH] describe: Fix 'format' option. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPETf-0008F2-PQ for guix-patches@gnu.org; Tue, 20 Nov 2018 17:26:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPETa-00030i-PK for guix-patches@gnu.org; Tue, 20 Nov 2018 17:26:39 -0500 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:38705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPETa-0002x7-E2 for guix-patches@gnu.org; Tue, 20 Nov 2018 17:26:34 -0500 Received: by mail-lj1-x232.google.com with SMTP id c19-v6so3068249lja.5 for ; Tue, 20 Nov 2018 14:26:34 -0800 (PST) From: Oleg Pykhalov Date: Wed, 21 Nov 2018 01:26:16 +0300 Message-Id: <20181120222616.3941-1-go.wigust@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33448@debbugs.gnu.org Fix ‘guix describe’ ignores ‘--format=FORMAT’ option. * guix/scripts/describe.scm (%options): Fix 'format' option. --- guix/scripts/describe.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm index e59502076..d3203e992 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) -- 2.19.1