Skip to content

Commit 68a799d

Browse files
committed
enhance: cli: update parameter short names
1 parent 4289561 commit 68a799d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

swaggman.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
// Convert yaml2json: https://github.com/bronze1man/yaml2json ... yaml2json_darwin_amd64
1414

1515
type Options struct {
16-
Config string `short:"c" long:"config" description:"Swaggman Config File"`
17-
PostmanBase string `short:"b" long:"base" description:"Basic Postman File"`
18-
Postman string `short:"p" long:"postman" description:"Output Postman File" required:"true"`
19-
OpenAPIFile string `short:"o" long:"openapi" description:"Input Swagger File" required:"true"`
16+
Config string `short:"C" long:"config" description:"Swaggman Config File"`
17+
PostmanBase string `short:"B" long:"basePostmanFile" description:"Basic Postman File"`
18+
Postman string `short:"P" long:"postmanFile" description:"Output Postman File" required:"true"`
19+
OpenAPIFile string `short:"O" long:"openapiFile" description:"Input Swagger File" required:"true"`
2020
}
2121

2222
func (opts *Options) TrimSpace() {

0 commit comments

Comments
 (0)