mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-21 22:04:15 +03:00
bin: Cleanup documentation of --cache-dir option
In all cases documentation was missing from the manual and the bash completion was incorrectly assigning it as a boolean option.
This commit is contained in:
parent
af505336c2
commit
2b8707b010
12
bash/ostree
12
bash/ostree
@ -900,7 +900,6 @@ _ostree_pull() {
|
||||
local boolean_options="
|
||||
$main_boolean_options
|
||||
--commit-metadata-only
|
||||
--cache-dir
|
||||
--disable-fsync
|
||||
--disable-static-deltas
|
||||
--require-static-deltas
|
||||
@ -912,6 +911,7 @@ _ostree_pull() {
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--cache-dir
|
||||
--depth
|
||||
--http-header
|
||||
--localcache-repo -L
|
||||
@ -925,7 +925,7 @@ _ostree_pull() {
|
||||
local options_with_args_glob=$( __ostree_to_extglob "$options_with_args" )
|
||||
|
||||
case "$prev" in
|
||||
--localcache-repo|-L|--repo|--subpath)
|
||||
--cache-dir|--localcache-repo|-L|--repo|--subpath)
|
||||
__ostree_compreply_dirs_only
|
||||
return 0
|
||||
;;
|
||||
@ -1274,17 +1274,17 @@ _ostree_remote_list_gpg_keys() {
|
||||
_ostree_remote_refs() {
|
||||
local boolean_options="
|
||||
$main_boolean_options
|
||||
--cache-dir
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--cache-dir
|
||||
--repo
|
||||
"
|
||||
|
||||
local options_with_args_glob=$( __ostree_to_extglob "$options_with_args" )
|
||||
|
||||
case "$prev" in
|
||||
--repo)
|
||||
--cache-dir|--repo)
|
||||
__ostree_compreply_dirs_only
|
||||
return 0
|
||||
;;
|
||||
@ -1343,18 +1343,18 @@ _ostree_remote_show_url() {
|
||||
_ostree_remote_summary() {
|
||||
local boolean_options="
|
||||
$main_boolean_options
|
||||
--cache-dir
|
||||
--raw
|
||||
"
|
||||
|
||||
local options_with_args="
|
||||
--cache-dir
|
||||
--repo
|
||||
"
|
||||
|
||||
local options_with_args_glob=$( __ostree_to_extglob "$options_with_args" )
|
||||
|
||||
case "$prev" in
|
||||
--repo)
|
||||
--cache-dir|--repo)
|
||||
__ostree_compreply_dirs_only
|
||||
return 0
|
||||
;;
|
||||
|
@ -86,6 +86,14 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||
<title>Options</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>--cache-dir</option>=DIR</term>
|
||||
|
||||
<listitem><para>
|
||||
Use an alternate cache directory in <literal>DIR</literal>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--disable-fsync</option></term>
|
||||
|
||||
|
@ -65,6 +65,14 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--cache-dir</option>=DIR</term>
|
||||
|
||||
<listitem><para>
|
||||
Use an alternate cache directory in <literal>DIR</literal>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--disable-fsync</option></term>
|
||||
|
||||
|
@ -194,6 +194,20 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>'Refs' Options</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>--cache-dir</option>=DIR</term>
|
||||
|
||||
<listitem><para>
|
||||
Use an alternate cache directory in <literal>DIR</literal>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>'GPG-Import' Options</title>
|
||||
|
||||
@ -226,6 +240,14 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||
<title>'Summary' Options</title>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>--cache-dir</option>=DIR</term>
|
||||
|
||||
<listitem><para>
|
||||
Use an alternate cache directory in <literal>DIR</literal>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--raw</option></term>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user