Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 2/2] run-help: add run-help-btrfs



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