From 8eaa1959904ecff0e7e75d152220344457912f76 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 23 Nov 2020 19:19:19 +0100 Subject: foot/footclient: add short options to all command line options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e81388336750a20a2da98a57e9726c8ba1b481e3 added “missing” short command line options to footclient. Except they weren’t missing; they were intentionally missing short options and only supported long options. This commit makes the new/missing short options “official”, by adding documentation, zsh completions and including them in usage(). --- doc/foot.1.scd | 10 +++++----- doc/footclient.1.scd | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/foot.1.scd b/doc/foot.1.scd index e3be3013..d397c9e8 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -26,7 +26,7 @@ the foot command line Path to configuration file. Default: *$XDG_CONFIG_HOME/foot/foot.ini*. -*--check-config* +*-C*,*--check-config* Verify configuration and then exit with 0 if ok, otherwise exit with 1. @@ -57,18 +57,18 @@ the foot command line *-t*,*--term*=_TERM_ Value to set the environment variable *TERM* to. Default: _foot_. -*--title*=_TITLE_ +*-T*,*--title*=_TITLE_ Initial window title. Default: _foot_. *-a*,*--app-id*=_ID_ Value to set the *app-id* property on the Wayland window to. Default: _foot_. -*--maximized* +*-m*,*--maximized* Start in maximized mode. If both *--maximized* and *--fullscreen* are specified, the _last_ one takes precedence. -*--fullscreen* +*-F*,*--fullscreen* Start in fullscreen mode. If both *--maximized* and *--fullscreen* are specified, the _last_ one takes precedence. @@ -110,7 +110,7 @@ the foot command line *--server-socket* option in *footclient*(1) and point it to your custom socket path. -*--hold* +*-H*,*--hold* Remain open after child process exits. *-p*,*--print-pid*=_FILE_|_FD_ diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd index cc520391..f9c95913 100644 --- a/doc/footclient.1.scd +++ b/doc/footclient.1.scd @@ -25,7 +25,7 @@ terminal has terminated). *-t*,*--term*=_TERM_ Value to set the environment variable *TERM* to. Default: _foot_. -*--title*=_TITLE_ +*-T*,*--title*=_TITLE_ Initial window title. Default: _foot_. *-a*,*--app-id*=_ID_ @@ -38,22 +38,22 @@ terminal has terminated). *-W*,*--window-size-chars*=_WIDTHxHEIGHT_ Set initial window width and height, in characters. Default: _not set_. -*--maximized* +*-m*,*--maximized* Start in maximized mode. If both *--maximized* and *--fullscreen* are specified, the _last_ one takes precedence. -*--fullscreen* +*-F*,*--fullscreen* 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]. *-s*,*--server-socket*=_PATH_ Connect to _PATH_ instead of *$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*. -*--hold* +*-H*,*--hold* Remain open after child process exits. *-l*,*--log-colorize*=[{*never*,*always*,*auto*}] -- cgit v1.3