aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-08 16:43:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-08 16:43:03 +0000
commit5b70f94827b365b44b0d28a8e3768fa9eb4268ca (patch)
treeab6843a1b4ab57f8b8c00f4a0c9f0850855a1a70 /doc
parentterm: don't register ptmx with FDM if we're shutting down (diff)
main/client: be POSIXLY_CORRECT when parsing command line
This means command line parsing stops when it encounters the first nonoption argument. The result is that one no longer need to use '--' to ensure arguments are passed to the shell/command, instead of parsed by foot. That is, instead of foot -- sh -c true one can now do foot sh -c true Arguments to foot *must* go before the command: foot --fullscreen sh -c true
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd6
-rw-r--r--doc/footclient.1.scd6
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 93c28e4f..1874c0cb 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -5,10 +5,10 @@ foot - Wayland terminal emulator
# SYNOPSIS
*foot* [_OPTIONS_]++
-*foot* [_OPTIONS_] -- <_command_>
+*foot* [_OPTIONS_] <_command_> [_COMMAND OPTIONS_]
-All trailing (non-option) arguments are treated as a command to
-execute (instead of the shell).
+All trailing (non-option) arguments are treated as a command, and its
+arguments, to execute (instead of the default shell).
# OPTIONS
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index 83c00c77..9a43b26b 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -5,10 +5,10 @@ footclient - start new terminals in a foot server
# SYNOPSIS
*foot* [_OPTIONS_]++
-*foot* [_OPTIONS_] -- <command>
+*foot* [_OPTIONS_] <_command_> [_COMMAND OPTIONS_]
-All trailing (non-option) arguments are treated as a command to
-execute (instead of the shell).
+All trailing (non-option) arguments are treated as a command, and its
+arguments, to execute (instead of the default shell).
# OPTIONS