mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
chore: repo command give more hints. (#11849)
Signed-off-by: yanggang <gang.yang@daocloud.io> Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
parent
b2a6387ca0
commit
61f6530e8a
3 changed files with 4 additions and 4 deletions
|
|
@ -309,7 +309,7 @@ func NewRepoListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command {
|
|||
},
|
||||
}
|
||||
command.Flags().StringVarP(&output, "output", "o", "wide", "Output format. One of: json|yaml|wide|url")
|
||||
command.Flags().StringVar(&refresh, "refresh", "", "Force a cache refresh on connection status")
|
||||
command.Flags().StringVar(&refresh, "refresh", "", "Force a cache refresh on connection status , must be one of: 'hard'")
|
||||
return command
|
||||
}
|
||||
|
||||
|
|
@ -360,6 +360,6 @@ func NewRepoGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command {
|
|||
},
|
||||
}
|
||||
command.Flags().StringVarP(&output, "output", "o", "wide", "Output format. One of: json|yaml|wide|url")
|
||||
command.Flags().StringVar(&refresh, "refresh", "", "Force a cache refresh on connection status")
|
||||
command.Flags().StringVar(&refresh, "refresh", "", "Force a cache refresh on connection status , must be one of: 'hard'")
|
||||
return command
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ argocd repo get [flags]
|
|||
```
|
||||
-h, --help help for get
|
||||
-o, --output string Output format. One of: json|yaml|wide|url (default "wide")
|
||||
--refresh string Force a cache refresh on connection status
|
||||
--refresh string Force a cache refresh on connection status , must be one of: 'hard'
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ argocd repo list [flags]
|
|||
```
|
||||
-h, --help help for list
|
||||
-o, --output string Output format. One of: json|yaml|wide|url (default "wide")
|
||||
--refresh string Force a cache refresh on connection status
|
||||
--refresh string Force a cache refresh on connection status , must be one of: 'hard'
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
|||
Loading…
Reference in a new issue