aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/goimports.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/goimports.fish')
-rw-r--r--share/completions/goimports.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/completions/goimports.fish b/share/completions/goimports.fish
new file mode 100644
index 00000000..16b16b54
--- /dev/null
+++ b/share/completions/goimports.fish
@@ -0,0 +1,6 @@
+complete -c goimports -s d -d "Display diffs instead of rewriting files"
+complete -c goimports -s e -d "Report all errors"
+complete -c goimports -s l -d "List files whose formatting differs from goimport's"
+complete -c goimports -l srcdir -o srcdir -r -d "Choose imports as if source code is from dir"
+complete -c goimports -s w -d "Write result to (source) file instead of stdout"
+complete -c goimports -l help -o help -s h -d "Show help"