summaryrefslogtreecommitdiff
path: root/pancake.1
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-19 02:43:21 +0300
committerdefanor <defanor@uberspace.net>2017-12-19 02:43:21 +0300
commit7f5d0b170099704d1a2016e2af1d9bfbde7ea1ad (patch)
tree33a28920e6d60e73e154c8185e7318c473ec01d4 /pancake.1
parent6e368bc36c603a23e57a5baa14556446a8603a8e (diff)
Enable a user to specify a configuration file
This covers both command-line options and the "load config" (former "reload config") command.
Diffstat (limited to 'pancake.1')
-rw-r--r--pancake.111
1 files changed, 7 insertions, 4 deletions
diff --git a/pancake.1 b/pancake.1
index 6d64617..38db77a 100644
--- a/pancake.1
+++ b/pancake.1
@@ -4,7 +4,7 @@
pancake - a CLI/Emacs web/gopher/file browser
.SH SYNOPSIS
-pancake [\fIoption ...\fR] [\fcommand\fR ...]
+pancake [\fIoption ...\fR] [--] [\fIcommand ...\fR]
.SH DESCRIPTION
Pancake utilizes pandoc and external downloaders such as curl, adding
@@ -21,8 +21,10 @@ as emacs, rlwrap, tmux, screen.
Print version and exit.
.IP "\fB\-\-help\fR"
Print a help message.
-.IP "\fB\-\-embedded\fR"
+.IP "\fB\-e, \-\-embedded\fR"
Run in the embedded mode.
+.IP "\fB\-c \fIFILE\fB, \-\-config=\fIFILE\fB\fR"
+Load configuration from a specified file.
.SH COMMANDS
.IP "\fBquit\fR or EOF"
@@ -31,8 +33,9 @@ quit pancake, cleaning the cache
back
.IP "\fB]\fR"
forward
-.IP "\fBreload config\fR"
-reload config
+.IP "\fBload config\fR[ \fIpath\fR]"
+load configuration from a specified file or reload it from the default
+one
.IP "\fBhelp\fR"
show a help message
.IP "\fB?\fR"