From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UJ5oCIYDu155PgAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 20:13:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GAkRI5QDu154GAAAbx9fmQ (envelope-from ) for ; Tue, 12 May 2020 20:14:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D501940058 for ; Tue, 12 May 2020 20:14:10 +0000 (UTC) Received: from localhost ([::1]:46000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYbI3-0000uI-Cl for larch@yhetil.org; Tue, 12 May 2020 16:14:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYbHq-0000tf-TL for guix-devel@gnu.org; Tue, 12 May 2020 16:13:58 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:15204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYbHo-00034v-SU for guix-devel@gnu.org; Tue, 12 May 2020 16:13:58 -0400 Date: Tue, 12 May 2020 20:13:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1589314433; bh=eRhq2dH+k8NvwY4lUHc3BeRTeqQ1t90Yr9VrNPUWNLs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=bVulzofgIK7T9wWxScsPFSRTWMIxPlLfgrbQCN5TYzVCDTvw9JfvJaQCDJzHi2cv7 EeNd3+ATZPOW+fkD5AEPZoHlQSCiJolf8impmX/lzTO/HTNZ3aZy7XmKcdohCBqpp1 IPU1G7bH7Q6fu3vG7Ukn69NtAiNR0ueD/jc/bDOY= To: zimoun From: Ekaitz Zarraga Subject: Re: guix describe user experience improvement proposition Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=ekaitz@elenq.tech; helo=mail-40134.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 16:13:53 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Cc: "guix-devel\\\\@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail header.b=bVulzofg; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; HAS_REPLYTO(0.00)[ekaitz@elenq.tech]; GENERIC_REPUTATION(0.00)[-0.53974108014373]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail,elenq.tech:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[elenq.tech:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[elenq.tech,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[elenq.tech:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[elenq.tech:dkim]; FROM_NEQ_ENVFROM(0.00)[ekaitz@elenq.tech,guix-devel-bounces@gnu.org]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 03rNe60cxRj/ On Tuesday, May 12, 2020 9:44 PM, zimoun wrote: > Dear > > On Tue, 12 May 2020 at 21:07, Ekaitz Zarraga ekaitz@elenq.tech wrote: > > > I suggest adding the possible format list in the help of the `guix desc= ribe -h` command. That way the feature discovery is easier for users that d= on't want to dig in the code. > > Usually, the way to add such information is '--list-formats', e.g., > see "guix graph"with '--list-types' and '-list-backends'. I do not > know if it is an usually. ;-) But do you think it's interesting? Or is it just me? I like the `--list-types` approach. If it's interesting I would contribute = with a patch. > > - (display (G_ " > > - -f, --format=3DFORMAT display information in the given FORMAT")) > > > > - (display (string-append (G_ " > > - -f, --format=3DFORMAT display information in the given FORMAT: ") (= string-join available-formats "|"))) > > The issue is the length, so at least it should on 2 lines to fix screen s= ize. Yeah I was aware of that. I was just adding the diff to try to share what I= wanted, rather than like something we should add with no changes. :) Thanks for the feedback! Ekaitz