summaryrefslogtreecommitdiff
path: root/completions/java
diff options
context:
space:
mode:
Diffstat (limited to 'completions/java')
-rw-r--r--completions/java7
1 files changed, 6 insertions, 1 deletions
diff --git a/completions/java b/completions/java
index 8365a314..eacd85e3 100644
--- a/completions/java
+++ b/completions/java
@@ -356,6 +356,10 @@ _pack200()
_filedir log
return 0
;;
+ -r|--repack)
+ _filedir jar
+ return 0
+ ;;
esac
# Check if a pack or a jar was already given.
@@ -374,7 +378,8 @@ _pack200()
--deflate-hint= --modification-time= --pass-file= \
--unknown-attribute= --class-attribute= --field-attribute= \
--method-attribute= --code-attribute= --config-file= \
- --verbose --quiet --log-file= --help --version -J' -- "$cur" ) )
+ --verbose --quiet --log-file= --help --version -J \
+ --repack' -- "$cur" ) )
[[ ${#COMPREPLY[@]} -eq 1 && ${COMPREPLY[0]} == *= ]] && \
type compopt &>/dev/null && compopt -o nospace
else