Skip to content

Commit

Permalink
clean up docs references to wego CLI
Browse files Browse the repository at this point in the history
it is called `gitops` CLI now

Signed-off-by: Kingdon Barrett <kingdon@weave.works>
  • Loading branch information
Kingdon Barrett committed Feb 9, 2022
1 parent 20b679b commit 68bc89c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/gitops/flux/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var Cmd = &cobra.Command{
Use: "flux [flux commands or flags]",
Short: "Use flux commands",
DisableFlagParsing: true,
Example: "wego flux install -h",
Example: "gitops flux install -h",
Run: runCmd,
}

Expand All @@ -29,7 +29,7 @@ func init() {
Cmd.AddCommand(StatusCmd)
}

// Example flux command with flags 'wego flux -- install -h'
// Example flux command with flags 'gitops flux -- install -h'
func runCmd(cmd *cobra.Command, args []string) {
cliRunner := &runner.CLIRunner{}
fluxClient := flux.New(osys.New(), cliRunner)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/cli-reference/gitops_flux.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gitops flux [flux commands or flags] [flags]
### Examples

```
wego flux install -h
gitops flux install -h
```

### Options
Expand Down

0 comments on commit 68bc89c

Please sign in to comment.