mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
tutorial.rst command line arguments / parameters
added keywords so http://xon.sh/tutorial.html#executing-commands-and-scripts is more searchable
This commit is contained in:
parent
2c6852767e
commit
c1d6bdfee3
1 changed files with 2 additions and 2 deletions
|
@ -1534,8 +1534,8 @@ or by invoking xonsh with its filename as an argument:
|
|||
adding files
|
||||
file0.txt file1.txt file2.txt file3.txt file4.txt test_script.sh
|
||||
|
||||
xonsh scripts can also accept arguments. These arguments are made available to
|
||||
the script in two different ways:
|
||||
xonsh scripts can also accept command line arguments and parameters.
|
||||
These arguments are made available to the script in two different ways:
|
||||
|
||||
#. In either mode, as individual variables ``$ARG<n>`` (e.g., ``$ARG1``)
|
||||
#. In Python mode only, as a list ``$ARGS``
|
||||
|
|
Loading…
Add table
Reference in a new issue