From 65ed22d5a6f33a39273c73bb551e869b5207bbc8 Mon Sep 17 00:00:00 2001 From: Clément Martinez Date: Wed, 8 Jun 2016 17:21:16 +0200 Subject: Add help option completions for godoc, gofmt, goimports, golint, gorename --- share/completions/godoc.fish | 2 +- share/completions/gofmt.fish | 2 +- share/completions/goimports.fish | 2 +- share/completions/golint.fish | 2 +- share/completions/gorename.fish | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'share') diff --git a/share/completions/godoc.fish b/share/completions/godoc.fish index 48d38761..716a554a 100644 --- a/share/completions/godoc.fish +++ b/share/completions/godoc.fish @@ -22,4 +22,4 @@ complete -r -c godoc -l url -o url -d "Print HTML for named URL" complete -c godoc -s v -d "Verbose mode" complete -r -c godoc -l write_index -o write_index -d "Write index to a file" complete -r -c godoc -l zip -o zip -d "Zip file providing the file system to serve" - +complete -c godoc -l help -o help -s h -d "Show help" diff --git a/share/completions/gofmt.fish b/share/completions/gofmt.fish index 96f3bdca..c405727b 100644 --- a/share/completions/gofmt.fish +++ b/share/completions/gofmt.fish @@ -5,4 +5,4 @@ complete -c gofmt -s l -d "List files whose formatting differs from gofmt's" complete -c gofmt -s r -d "Rewrite rule (e.g., 'a[b:len(a)] -> a[b:]')" complete -c gofmt -s s -d "Simplify code" complete -c gofmt -s w -d "Write result to (source) file instead of stdout" - +complete -c gofmt -l help -o help -s h -d "Show help" diff --git a/share/completions/goimports.fish b/share/completions/goimports.fish index b0b568c9..16b16b54 100644 --- a/share/completions/goimports.fish +++ b/share/completions/goimports.fish @@ -3,4 +3,4 @@ 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" diff --git a/share/completions/golint.fish b/share/completions/golint.fish index 752adb5a..610656d8 100644 --- a/share/completions/golint.fish +++ b/share/completions/golint.fish @@ -1,3 +1,3 @@ complete -c golint -l min_confidence -o min_confidence -d "Minimum confidence of a problem to print it" -x complete -c golint -l set_exit_status -o set_exit_status -d "Set exit status to 1 if any issues are found" - +complete -c golint -l help -o help -s h -d "Show help" diff --git a/share/completions/gorename.fish b/share/completions/gorename.fish index 320366bd..50dbed3c 100644 --- a/share/completions/gorename.fish +++ b/share/completions/gorename.fish @@ -7,4 +7,4 @@ complete -c gorename -l offset -o offset -d "File and byte offset of identifier complete -c gorename -l tags -o tags -d "Build tag" complete -c gorename -l to -o to -d "New name for identifier" -r complete -c gorename -s v -d "Print verbose information" - +complete -c gorename -l help -o help -s h -d "Show help" -- cgit v1.2.3