Skip to content

Commit

Permalink
fatfile option to shell completion
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucaborello committed Aug 6, 2014
1 parent d916afe commit 7087e3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion scripts/completions/bash/sysdig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This completion code is based on the cmdline interface as it exists in sysdig
# 0.1.85
# 0.1.87

complete -W \
' \
Expand All @@ -11,6 +11,8 @@ complete -W \
--displayflt \
-D \
--debug \
-F \
--fatfile \
-h \
--help \
-j \
Expand Down
3 changes: 2 additions & 1 deletion scripts/completions/zsh/_sysdig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#compdef sysdig

# This completion code is based on the cmdline interface as it exists in sysdig
# 0.1.85
# 0.1.87

# this must match fields_info.cpp
local DESCRIPTION_TEXT_START=20
Expand Down Expand Up @@ -194,6 +194,7 @@ _arguments
'(-cl --list-chisels)'{-cl,--list-chisels}'[lists the available chisels]' \
'(-d --displayflt)'{-d,--displayflt}'[Make the given filter a display one]' \
'(-D --debug)'{-D,--debug}'[Capture events about sysdig itself]' \
'(-F --fatfile)'{-F,--fatfile}'[Enable fatfile mode]' \
'(-h --help)'{-h,--help}'[Print this help]' \
'(-j --json)'{-j,--json}'[Emit output as JSON]' \
'(-L --list-events)'{-L,--list-events}'[List the events that the engine supports]' \
Expand Down

0 comments on commit 7087e3e

Please sign in to comment.