zsh-workers
 help / color / mirror / code / Atom feed
From: Christian K <syphdias@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 2/2] run-help: add run-help-btrfs
Date: Wed, 9 Dec 2020 16:51:53 +0100	[thread overview]
Message-ID: <CAJiY44rCYpPHxqc7pRM6zeo9VesroS5wxF0U-S+BiaqyzjRC1w@mail.gmail.com> (raw)
In-Reply-To: <A3B50AD4-3FFB-4AD7-9111-6A6E66318ECE@kba.biglobe.ne.jp>

> > --- /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


  reply	other threads:[~2020-12-09 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27 15:24 [PATCH 1/2] run-help: chain run-help-sudo to call run-help on the next argument Samir Benmendil
2018-12-27 15:24 ` [PATCH 2/2] run-help: add run-help-btrfs Samir Benmendil
2020-12-09  9:14   ` Jun T
2020-12-09 15:51     ` Christian K [this message]
2020-12-11  6:08       ` Jun T
2020-12-09  9:05 ` [PATCH 1/2] run-help: chain run-help-sudo to call run-help on the next argument Jun T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJiY44rCYpPHxqc7pRM6zeo9VesroS5wxF0U-S+BiaqyzjRC1w@mail.gmail.com \
    --to=syphdias@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).