Skip to content

Commit fedf227

Browse files
author
Adam Spiers
committed
fix compilation error with literal newline (#5)
Literal newlines need to be inside backticks not double quotes. Fixes #5.
1 parent 22ec416 commit fedf227

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

chrome-session-dump.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,11 @@ func main() {
509509
flag.BoolVar(&historyFlag, "history", false, "Include the history of each tab in the output.")
510510

511511
flag.Usage = func() {
512-
fmt.Printf("Usage:
513-
-session-dump [options] ([session file] | [chrome dir])\n\n")
512+
fmt.Printf("Usage: chrome-session-dump [options] ([session file] | [chrome dir])\n\n");
514513
fmt.Printf(`If a chrome directory is supplied the most recent session file
515-
contained within it is used. If neither a directory or file
516-
is supplied then the program will use ~/.config/chrome by
517-
default
514+
contained within it is used. If neither a directory or file
515+
is supplied then the program will use ~/.config/chrome by
516+
default.
518517
519518
`)
520519

0 commit comments

Comments
 (0)