summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2024-01-14 19:54:15 -0700
committertjp <tjp@ctrl-c.club>2024-01-14 19:54:15 -0700
commitdfebc9013b5414e9a3c5f940704e831c31ce35d2 (patch)
treed9b34c1714ecc78f9546ec89907d1b5c8c4a34a6 /help.go
parentb173ca9cb2a6d463efda27cf143a81e0d6caedb8 (diff)
fixes
Diffstat (limited to 'help.go')
-rw-r--r--help.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/help.go b/help.go
index ba45cf0..40af4ca 100644
--- a/help.go
+++ b/help.go
@@ -64,7 +64,8 @@ Consult "help COMMAND" for more information on any single command.
`[1:],
"cli": `
-x-1 [-c COMMANDS] [URL]
+x-1 -h
+x-1 [-q] [-c COMMANDS] [URL]
-----------------------
With no arguments or flags, x-1 will just display the prompt and begin
executing your commands. Use the "help" command to begin exploring this
@@ -75,6 +76,9 @@ provided by separating them with a semi-colon ';') and then exit. In
this mode it also forces quiet mode, in which it doesn't automatically
print loaded pages.
+The -q flag will force quiet mode, overriding "quiet" in the
+configuration file.
+
With a URL argument, it will begin an interactive prompt session by
loading the requested url.
`[1:],
@@ -122,6 +126,9 @@ The section "[main]" contains general configuration options:
will pipe every page printed through less(1), "never" will not, and
"auto" will pipe it through "less -F", which skips the pager when
the output fits on a single screen anyway.
+ * timeout (string): Maximum time to wait trying to make a connection
+ to the host. Should be in the form with a unit suffix, like "15s" or
+ "500ms". The default is "10s".
`[1:],