man: added missing information to cmd man page
This commit is contained in:
parent
392c3f9230
commit
99f7ed5726
1 changed files with 28 additions and 6 deletions
34
man/cmd.8
34
man/cmd.8
|
@ -8,7 +8,7 @@
|
|||
.Nm
|
||||
.Op Fl DQ
|
||||
.Op Fl A|U
|
||||
.Op Fl C|K Ar command
|
||||
.Op Oo Fl S Oc Fl C|K Ar command
|
||||
.Op Fl E Ns = Ns Ar ON|OFF
|
||||
.Op Fl T Ns = Ns Ar fb
|
||||
.Op Fl V Ns = Ns Ar ON|OFF
|
||||
|
@ -16,28 +16,40 @@
|
|||
.Nm
|
||||
is a Linux wrapper for Windows Command Prompt. Its options are as follows:
|
||||
.Bl -tag -width Ds
|
||||
.It Fl ?
|
||||
Displays a fairly unhelpful and incomplete help text.
|
||||
.It Fl A
|
||||
Standard outputs will be redirected in ANSI.
|
||||
.It Fl C Ar command
|
||||
Executes the specified command and exits.
|
||||
.It Fl D
|
||||
Disables autorun commands.
|
||||
Disables autorun commands. See
|
||||
.Sx AUTORUN
|
||||
below.
|
||||
.It Fl E Ns = Ns Ar ON|OFF
|
||||
Enable or disable command extensions.
|
||||
Enable or disable command extensions. See
|
||||
.Sx COMMAND EXTENSIONS
|
||||
below.
|
||||
.It Fl F Ns = Ns Ar ON|OFF
|
||||
Enable or disable filename completion.
|
||||
Enable or disable filename completion. See
|
||||
.Sx FILENAME COMPLETION
|
||||
below.
|
||||
.It Fl K Ar command
|
||||
Executes the specified command, then become interactive.
|
||||
.It Fl Q
|
||||
Disables echoing commands for non-interactive modes.
|
||||
.It Fl S
|
||||
(TODO) command string modifier?
|
||||
Modifies input handling. See
|
||||
.Sx MODIFIED INPUT HANDLING
|
||||
below.
|
||||
.It Fl T Ns = Ns Ar fb
|
||||
Output will use colors as if 'color xx' was called; the first digit sets the foreground color, and the second digit sets the background color.
|
||||
.It Fl U
|
||||
Standard outputs will be redirected in Unicode.
|
||||
.It Fl V Ns = Ns Ar ON|OFF
|
||||
Enable or disable execution-time environment variable expansion.
|
||||
Enable or disable execution-time environment variable expansion. See
|
||||
.Sx EXECUTION-TIME ENVIRONMENT VARIABLE EXPANSION
|
||||
below.
|
||||
.Sh BEHAVIORS
|
||||
.Ss AUTORUN
|
||||
Autorun is enabled by default, and can be disabled with the
|
||||
|
@ -78,6 +90,16 @@ If enabled, enclosing a variable name with '!' characters will substitute the va
|
|||
Filename completion is disabled by default, and can be enabled by setting
|
||||
.Fl F Ns = Ns ON .
|
||||
If enabled, Ctrl-D and Ctrl-F can be used for directory and file completion respectively.
|
||||
.Ss MODIFIED INPUT HANDLING
|
||||
If the
|
||||
.Fl S
|
||||
flag is present, the program will strip the leading and trailing quotes from the
|
||||
.Ar command
|
||||
supplied to
|
||||
.Fl C
|
||||
or
|
||||
.Fl K
|
||||
and pass the remaining string literally as if it was typed directly into the prompt, ignoring special characters.
|
||||
.Sh BUGS
|
||||
.Nm
|
||||
lacks escape characters, meaning arguments with special characters
|
||||
|
|
Loading…
Reference in a new issue