[Bash-completion-devel] [PATCH][bash-completion-Bugs][311403] DBTS 501837: don't use uname for pidof completion, just check for its presence

Igor Murzov e-mail at date.by
Tue Nov 15 23:08:38 UTC 2011


On Tue, 15 Nov 2011 22:57:08 +0200
Ville Skyttä <ville.skytta at iki.fi> wrote:

> On 11/15/2011 11:24 PM, Igor Murzov wrote:
> > Proposed patch for Alioth #311403:
> 
> Looks fine to me.  My pidof doesn't have --usage either and apparently
> there's no way to get it to output a usage message but I supose the
> _parse_help doesn't hurt, but it has one argument that could be
> completed, from the man page:
> 
> 	-o omitpid
>               Tells pidof to omit processes with that process id. [...]

I saw that, but I thought, that there could be different implementations of pidof command and that other implementations might have different options and might have --usage option. But searching for man pages of pidof didn't show any different options, so I removed the call to _parse_usage() and added a completion for -o option.


-- Igor



More information about the Bash-completion-devel mailing list