Skip to content

Commit fc7add7

Browse files
authored
for -o to work, you specify it as an alias rather than in the Name (#279)
* for -o to work, you specify it as an alias rather than in the Name * gofmt
1 parent 7836caa commit fc7add7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/build-lambda-zip/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ func main() {
1717
Usage: "Put an executable and supplemental files into a zip file that works with AWS Lambda.",
1818
Flags: []cli.Flag{
1919
&cli.StringFlag{
20-
Name: "output, o",
21-
Value: "",
22-
Usage: "output file path for the zip. Defaults to the first input file name.",
20+
Name: "output",
21+
Aliases: []string{"o"},
22+
Value: "",
23+
Usage: "output file path for the zip. Defaults to the first input file name.",
2324
},
2425
},
2526
Action: func(c *cli.Context) error {

0 commit comments

Comments
 (0)