Skip to content

Commit

Permalink
lbzip2: Add -n argument completion.
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 14, 2012
1 parent f8ac6a5 commit d141f9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions completions/bzip2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ _bzip2()
-b|-h|--help|-p)
return 0
;;
-n)
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
return 0
;;
esac

if [[ "$cur" == -* ]]; then
Expand Down

0 comments on commit d141f9c

Please sign in to comment.