mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-12 05:34:01 -04:00
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
This commit is contained in:
parent
56d53ec2a1
commit
5b70f94827
5 changed files with 15 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue