Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/2] run-help: add run-help-btrfs
- X-seq: zsh-workers 47732
- From: Christian K <syphdias@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH 2/2] run-help: add run-help-btrfs
- Date: Wed, 9 Dec 2020 16:51:53 +0100
- Archived-at: <https://zsh.org/workers/47732>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-12/CAJiY44rCYpPHxqc7pRM6zeo9VesroS5wxF0U-S%2BBiaqyzjRC1w%40mail.gmail.com>
- 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
- 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==
- In-reply-to: <A3B50AD4-3FFB-4AD7-9111-6A6E66318ECE@kba.biglobe.ne.jp>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <20181227152444.31608-1-me@rmz.io> <20181227152444.31608-2-me@rmz.io> <A3B50AD4-3FFB-4AD7-9111-6A6E66318ECE@kba.biglobe.ne.jp>
- Sender: zsh-workers-request@xxxxxxx
> > --- /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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author