From 59d139893ab9044447e14fa091f50b48969847b5 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 16 Mar 2021 12:54:52 +0000 Subject: Report book dir to use before starting getgbook, in case it is unwanted --- cmd/dlgbook/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') 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 -- cgit v1.2.1-24-ge1ad