summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-04 03:20:40 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-04 03:20:40 -0400
commit8630499ec5b2f9e06eb45ab0fc9da0e443f16979 (patch)
treefa5c46737a058a43384fe9a64511eadb73bec40e
parent2d9f29ee445f24cc224956d5bae39e2fea9fcadc (diff)
downloadgetwtxt-8630499ec5b2f9e06eb45ab0fc9da0e443f16979.tar.gz
added long flags list to -h output
-rw-r--r--init.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/init.go b/init.go
index 8122882..ab844f2 100644
--- a/init.go
+++ b/init.go
@@ -22,7 +22,7 @@ const getwtxt = "0.2.1"
 var (
 	flagVersion  *bool   = pflag.BoolP("version", "v", false, "Display version information, then exit.")
 	flagHelp     *bool   = pflag.BoolP("help", "h", false, "Display the quick-help screen.")
-	flagMan      *bool   = pflag.BoolP("man", "m", false, "Display the configuration manual.")
+	flagMan      *bool   = pflag.BoolP("manual", "m", false, "Display the configuration manual.")
 	flagConfFile *string = pflag.StringP("config", "c", "", "The name/path of the configuration file you wish to use.")
 )
 
@@ -304,9 +304,10 @@ func helpScreen() {
 
                  :: Command Line Options ::
 
-    -h               Print this help screen.
-    -m               Print the configuration manual.
-    -v               Print the version information and quit.
+Command Line Options:
+    -h [--help]      Print this help screen.
+    -m [--manual]    Print the manual.
+    -v [--version]   Print the version information and quit.
     -c [--config]    Path to an alternate configuration file
                        to use. May be relative or absolute.