From patchwork Tue Nov 20 22:26:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 252 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2BEF416835; Tue, 20 Nov 2018 22:27:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id D8651167F5 for ; Tue, 20 Nov 2018 22:27:12 +0000 (GMT) Received: from localhost ([::1]:36292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPEUB-0008SZ-Ju for patchwork@mira.cbaines.net; Tue, 20 Nov 2018 17:27:11 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#33448] [PATCH] describe: Fix 'format' option. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Nov 2018 22:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33448 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33448@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154275281110312 (code B ref -1); Tue, 20 Nov 2018 22:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Nov 2018 22:26:51 +0000 Received: from localhost ([127.0.0.1]:37521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPETo-0002gD-RI for submit@debbugs.gnu.org; Tue, 20 Nov 2018 17:26:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPETm-0002fw-IM for submit@debbugs.gnu.org; Tue, 20 Nov 2018 17:26:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPETg-0003Ux-OX for submit@debbugs.gnu.org; Tue, 20 Nov 2018 17:26:41 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:47634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gPETg-0003US-L9 for submit@debbugs.gnu.org; Tue, 20 Nov 2018 17:26:40 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IqmdGEQe4Jb5y5KxQgPoISF4aji6GneIeRg3cnPxb60=; b=Mi7NprXHYbd+RCLRkllfCXgx63hya3vZhkLBqEebOb/z0fV9OAuV2oLOSyqJWQYCyU 3kM7be52QW6Xl1QDHbvUGClnBe/nOnSuSNchbU1RXE5K16ygBxjbJUx76ZxqTmlAlAXc m8AlVC0nd8u4db6gB1OsyVJG5+Md80jpnLHkvfzeLQGBE6guvqPdwOCsA2lwCKoMWCsk ckMwFkkRtTjQsRbujgLmvKe9Q4yWcSMybUM/VeeOYKr6agsoA4RvuzS2kkYd31fwIoZK Ki7UggFpy++tpXRxgPuHaA3KZcggloLvnKpn2zppNRSb3vcj5c3PwivqWOiOMy5zx1PB KYGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IqmdGEQe4Jb5y5KxQgPoISF4aji6GneIeRg3cnPxb60=; b=YMtKnXq5hmHt/ZS+zmRwJC5K2eeVp6Mu5HaAj8PRCKf6XixWCvHTis8juvrD5OoEMi n6nUrdLflYilAN1pP4IeiLLf3a14iCItgNVds24pUZLvEFARhjVqhu69GjQAQPTimOyj Rp2mOydcl5q/ulR2xDFs/2qzxQlq4fQoFPm2eXsgh++kHUtY91jTdv/JPis8KYlxFCjx wAX4n32cBCDMmegp62DFxgCBrVVZgWAlfBiOrOA6divvejmpPueRX+8LYHOEu5FR0qIC nEHGPUg58PyZxjU4NpTdQF20NfB/BS/Wqq7du3on7VqV4hMVpUVXhs52LoGcqXNimejR 5+hA== X-Gm-Message-State: AA+aEWZT3gbqfSH0vJ4f3kiJddosE5kWznk+d3yxTzn4a8Baqu+k6PVR 4aRrKz5M+MRvuM0+6SoyFVL86PRyu+6bpw== X-Google-Smtp-Source: AFSGD/Uhq05GwiGgDYGENdJ3FACUka64yvIbdeG0jwEmRASmC6gBOnCIRGfmUvhT3K4bVwhVN+TjHQ== X-Received: by 2002:a2e:8546:: with SMTP id u6-v6mr2246761ljj.95.1542752792455; Tue, 20 Nov 2018 14:26:32 -0800 (PST) Received: from localhost.localdomain (pppoe.95-55-182-67.dynamic.avangarddsl.ru. [95.55.182.67]) by smtp.gmail.com with ESMTPSA id e82sm2158071lfg.34.2018.11.20.14.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 14:26:31 -0800 (PST) From: Oleg Pykhalov Date: Wed, 21 Nov 2018 01:26:16 +0300 Message-Id: <20181120222616.3941-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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)