aboutsummaryrefslogtreecommitdiffstats
path: root/manual/qpdf-manual.xml
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-12-23 16:45:24 +0100
committerJay Berkenbilt <ejb@ql.org>2018-12-23 17:21:59 +0100
commit64c1579544daef83af1494aa16ee6bc081347d39 (patch)
tree7f14d2de61748107305f3ce40374591235fdb8db /manual/qpdf-manual.xml
parent2e306d32494bede29b995f34cacafd9d28b94500 (diff)
downloadqpdf-64c1579544daef83af1494aa16ee6bc081347d39.tar.zst
Support zsh completion
Diffstat (limited to 'manual/qpdf-manual.xml')
-rw-r--r--manual/qpdf-manual.xml29
1 files changed, 24 insertions, 5 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index b4b07f4b..2ccaafd3 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -303,11 +303,12 @@ make
<sect1 id="ref.shell-completion">
<title>Shell Completion</title>
<para>
- Starting in qpdf version 8.3.0, qpdf provides its own bash
- completion support. You can enable bash completion with
- <command>eval $(qpdf --completion-bash)</command>. If
- <command>qpdf</command> is not in your path, you should invoke it
- above with an absolute path. If you invoke it with a relative
+ Starting in qpdf version 8.3.0, qpdf provides its own completion
+ support for zsh and bash. You can enable bash completion with
+ <command>eval $(qpdf --completion-bash)</command> and zsh
+ completion with <command>eval $(qpdf --completion-zsh)</command>.
+ If <command>qpdf</command> is not in your path, you should invoke
+ it above with an absolute path. If you invoke it with a relative
path, it will warn you, and the completion won't work if you're in
a different directory.
</para>
@@ -343,6 +344,24 @@ make
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--completion-bash</option></term>
+ <listitem>
+ <para>
+ Output a completion command you can eval to enable shell
+ completion from bash.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--completion-zsh</option></term>
+ <listitem>
+ <para>
+ Output a completion command you can eval to enable shell
+ completion from zsh.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--password=password</option></term>
<listitem>
<para>