aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-14 10:17:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-14 10:17:08 +0000
commit689a4cc741f2dbb2dbefc16ab817438c953b568c (patch)
tree8368a8c7485136e3b5e17f654b2603b7c25cc470 /doc
parentMerge branch 'url-hint-letters' (diff)
parentclient: -D,--working-directory: check path exists and is a directory (diff)
Merge branch 'working-dir-command-line-option'
Closes #347
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd6
-rw-r--r--doc/footclient.1.scd4
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 2893842c..9b5079b8 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -69,9 +69,13 @@ the foot command line
Start in fullscreen mode. If both *--maximized* and *--fullscreen*
are specified, the _last_ one takes precedence.
-*--login-shell*
+*-L*,*--login-shell*
Start a login shell, by prepending a '-' to argv[0].
+*-D*,*--working-directory*=_DIR_
+ Initial working directory for the client application. Default:
+ _CWD of foot_.
+
*-s*,*--server*[=_PATH_]
Run as a server. In this mode, a single foot instance hosts
multiple terminals (windows). Use *footclient*(1) to launch new
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index 374a9a3a..107e6eaa 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -49,6 +49,10 @@ terminal has terminated).
*-L*,*--login-shell*
Start a login shell, by prepending a '-' to argv[0].
+*-D*,*--working-directory*=_DIR_
+ Initial working directory for the client application. Default:
+ _CWD of footclient_.
+
*-s*,*--server-socket*=_PATH_
Connect to _PATH_ instead of
*$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*.