search repos command add usage example for --archived=false (#8391)

This commit is contained in:
Shion Ichikawa 2024-01-18 04:53:26 +09:00 committed by GitHub
parent b62e977c91
commit 29bd9dc6eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,9 @@ func NewCmdRepos(f *cmdutil.Factory, runF func(*ReposOptions) error) *cobra.Comm
# search repositories without topic "linux"
$ gh search repos -- -topic:linux
# search repositories excluding archived repositories
$ gh search repos --archived=false
`),
RunE: func(c *cobra.Command, args []string) error {
if len(args) == 0 && c.Flags().NFlag() == 0 {