bash_to_xsh.rst add command line args to table

This commit is contained in:
Andrew Hundt 2017-10-09 12:09:29 -04:00 committed by GitHub
parent 9ecdfe34e8
commit 3f6a780b5e

View file

@ -52,4 +52,10 @@ will help you put a finger on how to do the equivalent task in xonsh.
* - ``!$``
- ``__xonsh_history__[-1, -1]``
- 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.