Skip to content

Commit

Permalink
Merge branch 'master' into suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
saschagrunert committed Dec 20, 2019
2 parents da26a81 + f35a775 commit ab18abf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cli.yml
@@ -1,6 +1,10 @@
name: Run Tests

on:
push:
branches:
- master
- v1
pull_request:
branches:
- master
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -64,5 +64,5 @@ export PATH=$PATH:$GOPATH/bin
### Supported platforms

cli is tested against multiple versions of Go on Linux, and against the latest
released version of Go on OS X and Windows. For full details, see
[`./.travis.yml`](./.travis.yml) and [`./appveyor.yml`](./appveyor.yml).
released version of Go on OS X and Windows. This project uses Github Actions for
builds. For more build info, please look at the [./.github/workflows/cli.yml](https://github.com/urfave/cli/blob/master/.github/workflows/cli.yml).
4 changes: 2 additions & 2 deletions docs.go
Expand Up @@ -48,8 +48,8 @@ func (a *App) writeDocTemplate(w io.Writer) error {
return t.ExecuteTemplate(w, name, &cliTemplate{
App: a,
Commands: prepareCommands(a.Commands, 0),
GlobalArgs: prepareArgsWithValues(a.Flags),
SynopsisArgs: prepareArgsSynopsis(a.Flags),
GlobalArgs: prepareArgsWithValues(a.VisibleFlags()),
SynopsisArgs: prepareArgsSynopsis(a.VisibleFlags()),
})
}

Expand Down
4 changes: 4 additions & 0 deletions docs_test.go
Expand Up @@ -22,6 +22,10 @@ func testApp() *App {
Aliases: []string{"b"},
Usage: "another usage text",
},
&BoolFlag{
Name: "hidden-flag",
Hidden: true,
},
}
app.Commands = []*Command{{
Aliases: []string{"c"},
Expand Down

0 comments on commit ab18abf

Please sign in to comment.