mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
bash_to_xsh.rst add command line args to table
This commit is contained in:
parent
9ecdfe34e8
commit
3f6a780b5e
1 changed files with 7 additions and 1 deletions
|
@ -52,4 +52,10 @@ will help you put a finger on how to do the equivalent task in xonsh.
|
||||||
* - ``!$``
|
* - ``!$``
|
||||||
- ``__xonsh_history__[-1, -1]``
|
- ``__xonsh_history__[-1, -1]``
|
||||||
- Get the last argument of the last command
|
- Get the last argument of the last command
|
||||||
|
* - ``$<n>``
|
||||||
|
- ``$ARG<n>``
|
||||||
|
- Command line argument at index ``n``,
|
||||||
|
so ``$ARG1`` is the equivalent of ``$1``.
|
||||||
|
* - ``$@``
|
||||||
|
- ``$ARGS``
|
||||||
|
- List of all command line argument and parameter strings.
|
||||||
|
|
Loading…
Add table
Reference in a new issue