summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Linux/Command/_sshfs20
2 files changed, 13 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aca1a87c..5ad76a36f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-08-17 Daniel Shahaf <d.s@daniel.shahaf.name>
+ * unposted: Completion/Linux/Command/_sshfs: _sshfs: Fix
+ completion of options with values
+
* 36158: Completion/Linux/Command/_sshfs: _sshfs: Fix completion
of and after -o
diff --git a/Completion/Linux/Command/_sshfs b/Completion/Linux/Command/_sshfs
index e6d137017..534e806e3 100644
--- a/Completion/Linux/Command/_sshfs
+++ b/Completion/Linux/Command/_sshfs
@@ -21,18 +21,18 @@ _arguments -C \
if [[ $state == options ]]; then
_values -s , "sshfs or fuse or mount options" \
reconnect sshfs_sync no_readahead sshfs_debug \
- 'cache=:cache setting:(yes no)' \
- cache_timeout=:seconds: \
- cache_stat_timeout=:seconds: \
- cache_dir_timeout=:seconds: \
- cache_link_timeout=:seconds: \
- 'ssh_command=:ssh command:_command_names' \
- directport=:port: \
- 'SSHOPT=:ssh option:' \
+ 'cache:cache setting:(yes no)' \
+ cache_timeout:seconds: \
+ cache_stat_timeout:seconds: \
+ cache_dir_timeout:seconds: \
+ cache_link_timeout:seconds: \
+ 'ssh_command:ssh command:_command_names' \
+ directport:port: \
+ 'SSHOPT:ssh option:' \
default_permissions allow_other allow_root kernel_cache large_read direct_io \
- max_read=:size: \
+ max_read:size: \
hard_remove debug \
- fs_name=:name: \
+ fs_name:name: \
use_ino readdir_ino && ret=0
fi