mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	fix commnd line help
This commit is contained in:
		
							
								
								
									
										22
									
								
								vendor/bin/alias.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/bin/alias.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -144,7 +144,11 @@ 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. | ||||||
| @@ -156,14 +160,20 @@ 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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user