summaryrefslogtreecommitdiff
path: root/doc/ratpoison.texi
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-11-25 06:46:11 +0000
committersabetts <sabetts>2003-11-25 06:46:11 +0000
commitc5eaee5bda09b72d3f03fe7316c83801778f3f44 (patch)
treec92fc648f93fd25dc534b841c12f88e289d8d953 /doc/ratpoison.texi
parent863e018ef2cf8851694cbd9b7c3889d52fe50b17 (diff)
downloadratpoison-c5eaee5bda09b72d3f03fe7316c83801778f3f44.zip
(ratpoison_longopts): add "file"
(ratpoison_opts): add f: option (print_help): print help for --file option (read_startup_files): take an alternative rc file as an argument and use it if it is non-NULL. (main): parse the --file option. pass alt_rcfile to read_startup_files.
Diffstat (limited to 'doc/ratpoison.texi')
-rw-r--r--doc/ratpoison.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index 6f22aff..e0aa159 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -1252,6 +1252,9 @@ Here ratpoison would split the current frame twice.
Force ratpoison to execute commands in interactive mode. This is used
in conjuction with the @option{-c} option.
+@item -f, --file
+Specify an alternate configuration file. @xref{Startup file}.
+
@end table
@node Startup file, Command Index, Command Line Arguments, Top
@@ -1270,6 +1273,10 @@ tries @file{/etc/ratpoisonrc}. This means any command you can bind a key
to or run at the command prompt (@kbd{C-t :}) you can execute in this rc
file.
+You can also use the @option{-f} option to specify another startup
+file, allowing you to switch between different configurations
+(@pxref{Command Line Arguments}).
+
@node Command Index, , Startup file, Top
@unnumbered Command Index