summaryrefslogtreecommitdiffstats
path: root/bash-completion/chrt
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: update chrt completionSami Kerola2016-04-041-13/+27
| | | | | | | | | | | | Add couple missing options, and make the completion overall work better. That said completion is still incomplete, pardon the pun. After user has specified policy then giving a hint what priority needs to be specified is theoretically possible, but such hint is not given. There does not seem to be easy way to know when user wants stops specifying options and move to defining priority in: chrt [options] [prio] [command|pid]. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä2013-04-081-12/+12
| | | | | | | | | Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Don't offer any more completions after help or version.Ville Skyttä2013-04-081-1/+7
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+32
Signed-off-by: Karel Zak <kzak@redhat.com>