浏览代码

Add zsh completion for 'docker logs --no-task-ids --no-trunc'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer 8 年之前
父节点
当前提交
516edbcabb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      contrib/completion/zsh/_docker

+ 2 - 1
contrib/completion/zsh/_docker

@@ -1946,9 +1946,10 @@ __docker_service_subcommand() {
         (logs)
             _arguments $(__docker_arguments) \
                 $opts_help \
-                "($help)--details[Show extra details provided to logs]" \
                 "($help -f --follow)"{-f,--follow}"[Follow log output]" \
                 "($help)--no-resolve[Do not map IDs to Names]" \
+                "($help)--no-task-ids[Do not include task IDs]" \
+                "($help)--no-trunc[Do not truncate output]" \
                 "($help)--since=[Show logs since timestamp]:timestamp: " \
                 "($help)--tail=[Number of lines to show from the end of the logs]:lines:(1 10 20 50 all)" \
                 "($help -t --timestamps)"{-t,--timestamps}"[Show timestamps]" \