fix commnd line help

This commit is contained in:
Dax T. Games 2019-05-05 17:06:44 -04:00
parent ab3f0b76fb
commit 9b9bb13f6a

34
vendor/bin/alias.cmd vendored
View File

@ -144,26 +144,36 @@ exit /b
:p_help :p_help
echo.Usage: echo.Usage:
echo. echo.
echo. alias [options] [alias=alias command] or [[create [alias] [alias command]]] echo. alias [options] [alias=alias command]
echo.
echo OR
echo.
echo. alias create [alias] [alias command]
echo. echo.
echo.Options: echo.Options:
echo. echo.
echo. Note: Options MUST precede the alias definition. echo. Note: Options MUST precede the alias definition.
echo. echo.
echo. /d [alias] Delete an [alias]. echo. /d [alias] Delete an [alias].
echo. /f [macrofile] Path to the [macrofile] you want to store the new alias in. echo. /f [macrofile] Path to the [macrofile] you want to store the new alias in.
echo. Default: %cmder_root%\config\user_aliases.cmd echo. Default: %cmder_root%\config\user_aliases.cmd
echo. /reload Reload the aliases file. Can be used with /f argument. echo. /reload Reload the aliases file. Can be used with /f argument.
echo. Default: %cmder_root%\config\user_aliases.cmd echo. Default: %cmder_root%\config\user_aliases.cmd
echo. echo.
echo. If alias is called with no parameters, it will display the list of existing aliases. echo. If alias is called with no parameters, it will display the list of existing
echo. aliases.
echo. echo.
echo. In the alias command, you can use the following notations: echo. In the alias command, you can use the following notations:
echo. echo.
echo. ^^^^^^^^%% - '%%' in env vars must be escaped if preserving the variable in the alias is desired. echo. ^^^^^^^^%% - %% signs in env vars must be escaped if preserving the variable
echo. $* - allows the alias to assume all the parameters of the supplied command. echo. in he alias is desired. Variables in aliases surrounded by double
echo. $1-$9 - Allows you to seperate parameter by number, much like %%1 in batch. echo. quotes only require '^^%%' vs '^^^^^^^^%%'
echo. $T - Command seperator, allowing you to string several commands together into one alias. echo. $* - allows the alias to assume all the parameters of the supplied
echo. command.
echo. $1-$9 - Allows you to seperate parameter by number, much like %%1 in
echo. batch.
echo. $T - Command seperator, allowing you to string several commands
echo. together into one alias.
echo. echo.
echo. For more information, read DOSKEY /? echo. For more information, read DOSKEY /?
exit /b exit /b