summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_python_module-http.server
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_python_module-http.server')
-rw-r--r--Completion/Unix/Command/_python_module-http.server8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_python_module-http.server b/Completion/Unix/Command/_python_module-http.server
new file mode 100644
index 000000000..e5ea4a8df
--- /dev/null
+++ b/Completion/Unix/Command/_python_module-http.server
@@ -0,0 +1,8 @@
+#autoload
+
+_arguments -S \
+ '(-h --help)'{-h,--help}'[show a help message and exit]' \
+ '--cgi[run as CGI server]' \
+ '(-b --bind)'{-b+,--bind=}'[bind to this address]:address:' \
+ '(-d --directory)'{-d+,--directory=}'[serve this directory]:directory:_directories' \
+ '(-p --protocol)'{-p+,--protocol=}'[conform to this HTTP version]:protcol version:(HTTP/1.0 HTTP/1.1)'