mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
Add help option completions for godoc, gofmt, goimports, golint, gorename
This commit is contained in:
parent
09f9d71bb2
commit
65ed22d5a6
|
@ -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 -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 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 -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"
|
||||||
|
|
|
@ -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 r -d "Rewrite rule (e.g., 'a[b:len(a)] -> a[b:]')"
|
||||||
complete -c gofmt -s s -d "Simplify code"
|
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 -s w -d "Write result to (source) file instead of stdout"
|
||||||
|
complete -c gofmt -l help -o help -s h -d "Show help"
|
||||||
|
|
|
@ -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 -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 -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 -s w -d "Write result to (source) file instead of stdout"
|
||||||
|
complete -c goimports -l help -o help -s h -d "Show help"
|
||||||
|
|
|
@ -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 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 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"
|
||||||
|
|
|
@ -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 tags -o tags -d "Build tag"
|
||||||
complete -c gorename -l to -o to -d "New name for identifier" -r
|
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 -s v -d "Print verbose information"
|
||||||
|
complete -c gorename -l help -o help -s h -d "Show help"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user