Add subcommand completion support to nice completions

darcs-hash:20061204111346-ac50b-913f68c7fcbf71117ac6d662423d64d05d38c6e5.gz
This commit is contained in:
axel 2006-12-04 21:13:46 +10:00
parent 8b73bac580
commit 60769903a5

View file

@ -1,5 +1,8 @@
complete -c nice -s n -l adjustment -r -d (N_ "Increment priority by specified number first")
complete -c nice -l help -d (N_ "Display help and exit")
complete -c nice -l version -d (N_ "Display version and exit")
complete -c nice -a "(__fish_complete_subcommand -- -n --adjustment)" -d (N_ "Command")
complete -c nice -s n -l adjustment -n "__fish_no_arguments" -d (N_ "Add specified amount to niceness value") -x
complete -c nice -l help -n "__fish_no_arguments" -d (N_ "Display help and exit")
complete -c nice -l version -n "__fish_no_arguments" -d (N_ "Display version and exit")