Skip to content

Commit

Permalink
adjust flag and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
afmahmudax committed Nov 12, 2022
1 parent 8a456a4 commit 7c7ee17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# go-plantuml
# go-plantuml
[![Build Status](https://github.com/bykof/go-plantuml/actions/workflows/test.yml/badge.svg)](https://github.com/bykof/go-plantuml/actions/workflows/test.yml/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/bykof/go-plantuml)](https://goreportcard.com/report/github.com/bykof/go-plantuml)

Expand Down Expand Up @@ -41,6 +41,7 @@ Flags:
-h, --help help for generate
-o, --out string the graphfile (default "graph.puml")
-r, --recursive traverse the given directories recursively
-x, --exclude exclude file matching given regex expression, not used if using -f flag
```
## Example
Expand Down Expand Up @@ -82,10 +83,10 @@ type (

func (address Address) FullAddress(withPostalCode bool) string {
return fmt.Sprintf(
"%s %s %d",
PackageVariable,
AnotherPackageVariable,
StartingStreetNumber,
"%s %s %d",
PackageVariable,
AnotherPackageVariable,
StartingStreetNumber,
)
}

Expand Down Expand Up @@ -132,4 +133,4 @@ Pull requests are welcome. For major changes, please open an issue first to disc
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
[MIT](https://choosealicense.com/licenses/mit/)
2 changes: 1 addition & 1 deletion cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func init() {
)
generateCmd.Flags().StringVarP(
&exclusion,
"exclusion",
"exclude",
"x",
"",
"exclude file matching given regex expression, not used if using -f flag",
Expand Down

0 comments on commit 7c7ee17

Please sign in to comment.