aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-09-18 22:40:40 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-09-18 22:40:40 +0000
commitef7919e64d09d4b29a1557641883e78f5896841d (patch)
tree61e71cad6c4135da135d37a85d535f925e54d366 /doc
parentmain/client: replace some uses of printf() with puts() in print_usage() (diff)
main/client: add no-op "-e" command-line option
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd10
-rw-r--r--doc/footclient.1.scd4
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index bbe784bc..91a7808a 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -141,6 +141,16 @@ the foot command line
*-v*,*--version*
Show the version number and quit.
+*-e*
+ Ignored; for compatibility with *xterm -e*.
+
+ This option was added in response to several program launchers
+ passing *-e* to arbitrary terminals, under the assumption that
+ they all implement the same semantics for it as *xterm*(1).
+ Ignoring it allows foot to be invoked as e.g. *foot -e man foot*
+ with the same results as with xterm, instead of producing an
+ "invalid option" error.
+
# EXIT STATUS
Foot will exit with code 230 if there is a failure in foot itself.
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index b252d5e1..9cb4ef69 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -79,6 +79,10 @@ terminal has terminated.
*-v*,*--version*
Show the version number and quit
+*-e*
+ Ignored; for compatibility with *xterm -e*. See *foot*(1) for more
+ details.
+
# EXIT STATUS
Footlient will exit with code 220 if there is a failure in footclient