mirror of https://github.com/knative/func.git
The cobra package, magically appends "[flags]" to the usage string if a command has flags. By adding "[options]" to the usage string, we end up with help text that looks like this. ``` faas init <name> [options] [flags] ``` This commit fixes that. |
||
|---|---|---|
| .. | ||
| faas | ||
| build.go | ||
| completion.go | ||
| completion_util.go | ||
| create.go | ||
| delete.go | ||
| deploy.go | ||
| describe.go | ||
| format.go | ||
| init.go | ||
| list.go | ||
| root.go | ||
| run.go | ||
| update.go | ||
| version.go | ||