Skip to content

Commit

Permalink
fix(cmd/cup): add usage
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMac committed Aug 8, 2023
1 parent 4efd11f commit 8b984c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/cup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func main() {
}

app := &cli.App{
Name: "cup",
Name: "cup",
Usage: "Manage remote cupd instances",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "config",
Expand All @@ -45,7 +46,7 @@ func main() {
Name: "definitions",
Aliases: []string{"defs"},
Category: "discovery",
Usage: "List the available resource definitions for a target source",
Usage: "List the available resource definitions",
Action: func(ctx *cli.Context) error {
cfg, err := parseConfig(ctx)
if err != nil {
Expand Down Expand Up @@ -79,7 +80,7 @@ func main() {
&cli.StringFlag{
Name: "f",
Value: "-",
Usage: "Path to source to apply to target cupd",
Usage: "Path to the resource being applied",
DefaultText: "(- STDIN)",
},
},
Expand Down

0 comments on commit 8b984c7

Please sign in to comment.