Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Add version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy committed Mar 28, 2021
1 parent ce8ae34 commit a1e5c26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ go build -o ascheck .
#### run

```shell
./ascheck
./ascheck -h
```
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ func handleErr(err error) {

func main() {
app := &cli.App{
Usage: "A cli app that check app's Apple Silicon support",
Usage: "A cli app that check app's Apple Silicon support",
Version: "0.1.0",
Action: func(c *cli.Context) error {
err := remotecheck.Init()
handleErr(err)
Expand Down

0 comments on commit a1e5c26

Please sign in to comment.