diff options
author | Nick White <git@njw.name> | 2021-03-16 12:54:52 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-03-16 12:54:52 +0000 |
commit | 59d139893ab9044447e14fa091f50b48969847b5 (patch) | |
tree | a543233a8530eaea82c81148592175d1730eb949 /cmd/dlgbook/main.go | |
parent | 2130c31e300b7d4cea465cf90f6d1f4e7e292e95 (diff) |
Report book dir to use before starting getgbook, in case it is unwanted
Diffstat (limited to 'cmd/dlgbook/main.go')
-rw-r--r-- | cmd/dlgbook/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dlgbook/main.go b/cmd/dlgbook/main.go index 3aa8015..73c14ac 100644 --- a/cmd/dlgbook/main.go +++ b/cmd/dlgbook/main.go @@ -137,6 +137,8 @@ func main() { if err != nil { log.Fatalf("Couldn't create directory %s: %v", dir, err) } + fmt.Printf("Saving book to %s\n", dir) + cmd := exec.Command("getgbook", bookid) cmd.Dir = dir cmd.Stdout = os.Stdout |