diff --git a/bombadillo.1 b/bombadillo.1 index 9576233..a8b9e07 100644 --- a/bombadillo.1 +++ b/bombadillo.1 @@ -4,9 +4,7 @@ .SH SYNOPSIS .nf .fam C -\fBbombadillo\fP [\fIurl\fP] -\fBbombadillo\fP [\fBOPTION\fP] -\fBbombadillo\fP [\fBOPTION\fP] [\fIurl\fP] +\fBbombadillo\fP [\fIoptions\fP] [\fIurl\fP] .fam T .fi .SH DESCRIPTION @@ -17,11 +15,11 @@ .TP .B \fB-h\fP -Usage help. Displays all command line options with a short description and exits. +Display usage help and exit. Provides a list of all command line options with a short description and exits. .TP .B \fB-t\fP -Set the window title to Bomabdillo and run Bombadillo. +Set the window title to 'Bombadillo'. Can be used in a GUI environment, however not all terminals support this feature. .TP .B \fB-v\fP diff --git a/main.go b/main.go index 8ab5979..1362e78 100644 --- a/main.go +++ b/main.go @@ -166,12 +166,10 @@ func handleSignals(c <-chan os.Signal) { func printHelp() { art := `Bombadillo - a non-web browser -Syntax: bombadillo [url] - bombadillo [options...] - bombadillo -t [url] +Syntax: bombadillo [options] [url] Examples: bombadillo gopher://bombadillo.colorfield.space - bombadillo -t + bombadillo -t bombadillo -v Options: @@ -182,7 +180,7 @@ Options: func main() { getVersion := flag.Bool("v", false, "Display version information and exit") - addTitleToXWindow := flag.Bool("t", false, "Change the window title to Bomabdillo while running") + addTitleToXWindow := flag.Bool("t", false, "Set the window title to 'Bombadillo'. Can be used in a GUI environment, however not all terminals support this feature.") flag.Usage = printHelp flag.Parse() if *getVersion {