Skip to content

Commit 1337302

Browse files
committed
Fix output image parameter
1 parent 95c53b9 commit 1337302

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/stitch/stitch.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ func main() {
258258
outputImage = tempImage
259259
}
260260

261-
log.Printf("Creating output file \"%v\"", "output.png")
262-
f, err := os.Create("output.png")
261+
log.Printf("Creating output file \"%v\"", *flagOutputPath)
262+
f, err := os.Create(*flagOutputPath)
263263
if err != nil {
264264
log.Panic(err)
265265
}
@@ -277,6 +277,6 @@ func main() {
277277
if err := f.Close(); err != nil {
278278
log.Panic(err)
279279
}
280-
log.Printf("Created output file \"%v\"", "output.png")
280+
log.Printf("Created output file \"%v\"", *flagOutputPath)
281281

282282
}

0 commit comments

Comments
 (0)