about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_showmount10
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2689bb6ce..a496ad17e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-03-07  Clint Adams  <clint@zsh.org>
 
+	* 20942: Completion/Unix/Command/_showmount: completion for
+	showmount command.
+
 	* 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool
 	command.
 
diff --git a/Completion/Unix/Command/_showmount b/Completion/Unix/Command/_showmount
new file mode 100644
index 000000000..913091198
--- /dev/null
+++ b/Completion/Unix/Command/_showmount
@@ -0,0 +1,10 @@
+#compdef showmount
+
+_arguments \
+	'(-a --all)'{-a,--all}'[list both hostname and mounted dir in host:dir format]' \
+	'(-d --directories)'{-d,--directories}'[list only the directories mounted by some client]' \
+	'(-e --exports)'{-e,--exports}'[show server export list]' \
+	'(-h --help)'{-h,--help}'[help]' \
+	'(-v --version)'{-v,--version}'[version]' \
+	'--no-headers[suppress descriptive headers from output]' \
+	':host:_hosts'