summaryrefslogtreecommitdiff
path: root/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2016-11-02 21:01:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-02 22:53:12 +0700
commitaba79c277e03a3a2df8765b46eab6bba4741eeb6 (patch)
treef4555108c4291fe3c2197e6dc3174ecaf00fdd75 /office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion
parentae7f55c495c868b4f85266fb1026e9fedd00749b (diff)
downloadslackbuilds-aba79c277e03a3a2df8765b46eab6bba4741eeb6.tar.gz
office/multivalent-tool-pdf: Added (PDF tools).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion')
-rw-r--r--office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion17
1 files changed, 17 insertions, 0 deletions
diff --git a/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion b/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion
new file mode 100644
index 0000000000..3667134e1c
--- /dev/null
+++ b/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion
@@ -0,0 +1,17 @@
+_multivalent-tool-pdf()
+{
+ local cur prev opts
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ opts="Compress Convert Decrypt Diff Embed Encrypt Extract Impose Info Markup Merge Repair Split Stamp Uncompact Uncompress Undo Validate"
+
+ if [[ $prev == "multivalent-tool-pdf" ]] ; then
+ COMPREPLY=( $(compgen -W "$opts" -- $cur) )
+ return 0
+ else
+ COMPREPLY=( $(compgen -f $cur) )
+ return 0
+ fi
+}
+complete -F _multivalent-tool-pdf multivalent-tool-pdf