From fedf227fea34da9848503acd8809fee5414398f7 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 6 Nov 2022 13:31:36 +0000 Subject: [PATCH] fix compilation error with literal newline (#5) Literal newlines need to be inside backticks not double quotes. Fixes #5. --- chrome-session-dump.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/chrome-session-dump.go b/chrome-session-dump.go index 0bcc369..d93a429 100644 --- a/chrome-session-dump.go +++ b/chrome-session-dump.go @@ -509,12 +509,11 @@ func main() { flag.BoolVar(&historyFlag, "history", false, "Include the history of each tab in the output.") flag.Usage = func() { - fmt.Printf("Usage: - -session-dump [options] ([session file] | [chrome dir])\n\n") + fmt.Printf("Usage: chrome-session-dump [options] ([session file] | [chrome dir])\n\n"); fmt.Printf(`If a chrome directory is supplied the most recent session file -contained within it is used. If neither a directory or file -is supplied then the program will use ~/.config/chrome by -default +contained within it is used. If neither a directory or file +is supplied then the program will use ~/.config/chrome by +default. `)