From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OKb2DG5uM2ep1AAAqHPOHw:P1 (envelope-from ) for ; Tue, 12 Nov 2024 15:04:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OKb2DG5uM2ep1AAAqHPOHw (envelope-from ) for ; Tue, 12 Nov 2024 16:04:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=bSywAmY9; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731423854; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BG1H7Ngn12MW5uv19ZU2m1+myDJwn0ABjhzM1ovjqoA=; b=k2wwQWlLMv0KJmWmtsh1tHi/wFS0GWwTLXUN6GNy9ZSfmdzeXbkvWz4ggTkyk4HQQ3FRNi RfCjOL2bF3+9jOO8Wc9Jx4ydHVWMnwmW/pGpdTKIL12VHmAYjcr3xpNyUfSinxLe4k40g2 JG4MjDjCNOkAL8ES3WsHlaaeuv6wnNqTwSCZw9cLQkKKia3aQNBLHdu/zmdjYCXn0YgHV2 oyBw4hoxhYivETLoiFIb0Qani2OMVtt1FvIFJJVs+X+0UzcaTh0vMLlfHEfJoYdnd04fDD mWXSM8PDR3BZ+6vjvy2xnUCTYddwk2RmyPL7FqKHJtyh7WG+7jit/rkjLpHAVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731423854; a=rsa-sha256; cv=none; b=MbFfsK0J24yKXEWwip1Jd5GJOo7Jn5+KHRQ/PxfRUVyfk/EgpsIWemQ86Mdqz0abhhBd0X W13YLkvx7TzrjmRUg7yb1lLG//24Tv7EYN0gQ/aWU/0Vpgt1MHWN7nIhmHhs8infbGKVq3 K1vUv1z23ePrKE/y8qZRDd1dvFnQ04gxN3YqUWD607L5PqpXUBBDlgOSRTN1MeSINBqRop aHskkalN2pohTRiuZNTNXcmUCBOspil/2Vp1/aEH+y5CbVZeK0VPwsNDWEGJtXZjgYSLEe Yc2f7zOVff7JT+QXz6tE6+1cwjjzdGqaZ9O8+7yJoVgxa37v2eJCYIrWR/IwzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=bSywAmY9; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com 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 18C155EEC for ; Tue, 12 Nov 2024 16:04:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAsQY-0007eg-Qu; Tue, 12 Nov 2024 10:03:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAsQX-0007eI-4v for guix-devel@gnu.org; Tue, 12 Nov 2024 10:03:33 -0500 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAsQV-0003Ht-RG for guix-devel@gnu.org; Tue, 12 Nov 2024 10:03:32 -0500 Received: by mail-qk1-x744.google.com with SMTP id af79cd13be357-7b157c9ad12so402187985a.1 for ; Tue, 12 Nov 2024 07:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731423810; x=1732028610; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=BG1H7Ngn12MW5uv19ZU2m1+myDJwn0ABjhzM1ovjqoA=; b=bSywAmY93q7OOpGKsFGn66HzBDF8PUGxfgXweYjemLv9lN5reUdn2E78C3Yqp/ZrG2 SnIc2sou8/yk/nuK3Hrls19J4ZB5qjHPBmEU7MXhcHWBo/ZxCUFxI2TvfHgLowvs4UA6 +n6Jb/s9X6FB48I4fXJLc35LvHlDkx3V5E8QbO+z0xV2Wauj0u1YffgskXTPKeJSIr/w 6bT1KfLDZ0mdgKUQpwO33jvwElSwrguoKVryE1H7POODZfzqNlyQzKNQFzQq6mRyzWy1 vD7Rm1V5jC1Ozxx9kcpUUlBo9DhtcWue9nOIm3cwz+4SN+kneXxzFr94j9sbzmGOWThQ Ww3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731423810; x=1732028610; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BG1H7Ngn12MW5uv19ZU2m1+myDJwn0ABjhzM1ovjqoA=; b=PkpTdjC+nPMoinR2eSBjCHbbQrOlqrBTMoHf9dWZJwRVM5NtnJEikjUHklHaa9xn1E qBOx22JtcmBVsUXxQ+EfdMsww6q64ecIIbubEHbe3nOqnULPcA+D04jd7xYB9o6zYkx2 npt3FuSwX2kbQz1+IBoWdYpnTep+YqIHHmjEdteYG+7bYEJy3gyZ03E9biMxZ7gd71WN MeMUd3bL8r2TFb5Xldb1yElJsnZlspVDjaijeBHiSCvjfgucNkXFFQQYsBMa6H77BzRO vNyE4ItednIY5HmBInGbyXKjY4kanWQZRXKKB62w53DRf4b0DprV24V29NN07B863ja7 Iy+w== X-Gm-Message-State: AOJu0YxsOGbbJsQAu+K4ZU0VqzJSheGSHPOo23g0iuRQBtmdx2/zXgOr grTQqK78C1jhleTRM5eIAq9JBUmxN2OqINJyGRkfbeqnrSBtzkzbZRKRq4UVSIE= X-Google-Smtp-Source: AGHT+IGqZQYxBtQFqeEQuU4b63fzFLkKheUT1Z+V7DBxh4BRspplkADRKmCRtrLKhR8sRmrJhC5AhQ== X-Received: by 2002:a05:620a:24c3:b0:7a9:aba6:d037 with SMTP id af79cd13be357-7b331e879dcmr2377141185a.13.1731423810205; Tue, 12 Nov 2024 07:03:30 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b32acb0546sm596552285a.82.2024.11.12.07.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 07:03:29 -0800 (PST) From: Suhail Singh To: Ricardo Wurmus Cc: guix-devel@gnu.org Subject: Re: Unhelpful "--help" output In-Reply-To: <877c98egqi.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 12 Nov 2024 14:14:45 +0100") References: <877c98egqi.fsf@elephly.net> Date: Tue, 12 Nov 2024 10:03:19 -0500 Message-ID: <87msi4mr48.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::744; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x744.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.66 X-Spam-Score: -4.66 X-Migadu-Queue-Id: 18C155EEC X-Migadu-Scanner: mx13.migadu.com X-TUID: YlZmOos9lS5p Ricardo Wurmus writes: > Here is what I propose: > > - In the case of commands that offer sub-commands, remove *all* the > options from the help output of the main command (e.g. "guix system > --help"), and only showing the list of available sub-commands. > > - For "guix [command] [sub-command] --help" show only options to this > sub-command. > > - optionally, group all generic options (e.g. --system, --help, > --version, etc) under a single heading. > > What do you think? Yes, please! As a user of noman.el (i.e., a frequent user of --help) this would be a tremendous improvement over the current implementation. -- Suhail