From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2490 invoked from network); 9 Dec 2020 15:52:49 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Dec 2020 15:52:49 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1607529169; b=uTeafxQDiGXWk0H8llCRHAu5UnL5X6U6LNu2vquI3QyO/YAo7Yb1t6WPRrwECBqBfqkA4lauQG f6cLgYvN9ZmHxHUNTpV7qbwAU2yZv+jLx8BrhskbgfZBSqLORe7XzucYJ4QdCL8q3wKzYcFZAZ JEJWZ8tOufqpI15TE3posUiyEBKBa3OsHBPrPDC1mMuNdyy+WWuQ+HhKigvGGoFGxvBfhmClu9 4Pg2SnS2SElipvcPzjswdU7oAGjfcOGVDJY9qzrhjSfGnOGEX2Kfvp6JCXLNiHdPvPyEKgNy7B l1TmMTRUNYPMI5h/mw761bfZUvEGHf9rxR4n2o0iWoz8fQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f196.google.com) smtp.remote-ip=209.85.167.196; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1607529169; bh=GfKhzOya0efesaLDv6ef5kn//TFhF7GV6YgXojHXSq4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=gqJNt0+UTa4uCj/cIXQV4jFFPk2uKYFUb4Zqt2WthGLMoeVjDvnGH634SCbXd3xk2k9Ik80wgJ NrMXxybhZ1SqE5d/hddBJE7G/Vw8RmUhE993hsX1Q7DxIKlKxssG+YfQEdD5/a3xsXLeUbnavY NHi6PxAwXxxFOtcpAircGqYzVBTvuveMGb266F5kbomGx6yA7JAKl9NJ9us1klMqRydkVOtXrj XN8yICWojIExwxaSXzG7zwzHJX8q5FkYx95wl0lEmXq8GP6aCPvtaT1ZUl491p76b1Fmf/Cj6E +OfxWnMf9eWTBPGLo8oHsAQK5wE9Jkr7L5wvcmA5+1DwuA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=jAafPnVxkQkYFJknwdO2t/JRFGqRizRVVpUMgGTVnyw=; b=cNzndHsVfs2LqohBowBoveeNpv G1OUJ6koEVMAJUZtL+ERDnZsEn+kj5u8xy1fi5a9/rxM29RRJJzVkyEkFr3oePWmZCH0Hs9TxmIlr qmhXeglb9tDiZcrh//+sb/i0GEk0VRJdU6Pxqp+DFB2CS9hui1G7WkTaeiaVg/Y5fiKNKGPbNGObb oXkzvds9/XwJ4JuyrtDkFitXzrpXeON+UGl6aNAZSdY1kFPwnKkC2pUuc/dxjX6mBOYJogIGly5oX 0P90RGZaThR1toIB3Bkcc1n/ZMzPPS8/BIoKnIDKWZtDVyxaJCwiO8s1KkB3hwGWnyDw7dnf1WaNa j7M4Y+qg==; Received: from authenticated user by zero.zsh.org with local id 1kn1lm-000BCY-MP; Wed, 09 Dec 2020 15:52:46 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f196.google.com) smtp.remote-ip=209.85.167.196; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oi1-f196.google.com ([209.85.167.196]:35061) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kn1lW-000B3p-C7; Wed, 09 Dec 2020 15:52:31 +0000 Received: by mail-oi1-f196.google.com with SMTP id s2so2196730oij.2 for ; Wed, 09 Dec 2020 07:52:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jAafPnVxkQkYFJknwdO2t/JRFGqRizRVVpUMgGTVnyw=; b=fQPdXyjrQ8v+6EYk6E2JUGMOZi+s6bq2iXTMsxV/AZVVPPOkf6OicC4qzQ/6jPVddf wP/+4Laex5AG3tfQ7/4zxdC5bU3dMfys33+JtI8GZOZ+r6VJKZYYgY3lWYlb/saGmEiq 8Ulw/LJ7w+25y+fu70M1xshCtg3Retu2WRWyjFK93tdL2sFhG3u/kodfvxFYSbIQtVYu PobXC2esw0KetlqZ5izf/HAsUXcvtGTAuWqoAZ5MDXQQQEyDyXVUfnrDhO29mDOgHq1d qThmGwk3xht1nwM8+kcDzDdlBxsY2zEAjK+0lO1eK/ZZz28caFDBldDZFPDUO8Gr6qtp 5Nfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jAafPnVxkQkYFJknwdO2t/JRFGqRizRVVpUMgGTVnyw=; b=faVTuaLGAjKPYeBmIjKuQJ3kHpbMwNV6S1EeWJlwHxHBpTat33Xegcf9tDJEZqWKZ1 8s0WABfiaYItJ8k4fupi/YOZNMtzJKOwoMQeGl4vjCIDiPcqgaclPkHjreb4S5douMUC ddkWyjOU09Hc0nKskf82iRPwv7RwPu4ODFKpTzhxfLHBSV/KwaTpzl8SwVRPbCePL499 FE5W4sSEXDrREesAghtmWt0x+8pdz2TOENMRkaTtGSN6sHFfpxWdzGYC3AAVPgtRkx+b g2e5zEr4yAK1AVPFaRAUYGO/P6xUVpe1SAucnjIFmULdXgYgPD4L7AHRgBmkNIYShZIP j19A== X-Gm-Message-State: AOAM532m0wrVWrnO50v7qv7BYK+9EltSomxO1AvLa+/bIPHv2hICK+Tm sRyAp70HcIedyJeJWxTYddlv/JDKcbgYPxYlRyIwoUJD X-Google-Smtp-Source: ABdhPJyrIp05HXaSXOFHsulX8xJZu1Q3b9/c0+0Yx0jjRkkBWaFK01frzPngDlgwEmz5aKe7eRjBZw+b/D4/17+JMhc= X-Received: by 2002:aca:b345:: with SMTP id c66mr2237346oif.55.1607529148887; Wed, 09 Dec 2020 07:52:28 -0800 (PST) MIME-Version: 1.0 References: <20181227152444.31608-1-me@rmz.io> <20181227152444.31608-2-me@rmz.io> In-Reply-To: From: Christian K Date: Wed, 9 Dec 2020 16:51:53 +0100 Message-ID: Subject: Re: [PATCH 2/2] run-help: add run-help-btrfs To: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 47732 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > > --- /dev/null > > +++ b/Functions/Misc/run-help-btrfs > (snip) > > + (i*) man btrfs-image ;; > > > + (m*) man btrfs-map-logical ;; > > These two are not subcommands of btrfs. > > > + (q*) man btrfs-qgroup ;; > > + (q*) man btrfs-quota ;; > > These two must be distinguished. I'm sure there were some changes to btrfs subcommands in the meantime. As far as I can tell you can shorten all subcommands for btrfs as long as they are unique. So I'd expect this would need to be updated once in a while. So this way of doing it could lead to the wrong man page being displayed but otherwise you wouldn't get the correct sub-man page if you would run run-help on `btrfs files foo` for example. Not an expert on btrfs I just stumbled on this while looking at some btrfs issues. Christian