Skip to content

Commit 91bf04a

Browse files
committed
fix: Fixed save bug
1 parent cd2a1f8 commit 91bf04a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ Flags:
6060

6161
func main() {
6262
if version {
63-
fmt.Println("\nCurrent version:\n v1.1.1")
63+
fmt.Println("\nCurrent version:\n v1.1.2")
6464

6565
os.Exit(3)
6666
}
6767

68-
if (!clipboard && !file && !output && !upload) {
68+
if (!clipboard && !file && save == "" && !output && !upload) {
6969
log.Fatalln("You need to specify at least a save method, check 'ghost --help'.")
7070

7171
}

0 commit comments

Comments
 (0)