Ligne 101 : |
Ligne 101 : |
| == Command Line Options == | | == Command Line Options == |
| | | |
− | -h, --help | + | === Aide === |
− | ----------
| + | {{fname|-h, --help}} |
| | | |
| Displays a lit of the valid options. You should get something like the | | Displays a lit of the valid options. You should get something like the |
Ligne 138 : |
Ligne 138 : |
| </nowiki> | | </nowiki> |
| | | |
− | -b BAUD, --baud BAUD | + | === Débit (baud rate) === |
− | --------------------
| + | {{fname|-b BAUD, --baud BAUD}} |
| | | |
| Sets the baud rate to use when talking to the pyboard over a serial port. If | | Sets the baud rate to use when talking to the pyboard over a serial port. If |
Ligne 146 : |
Ligne 146 : |
| the default baudrate of 115200 is used. | | the default baudrate of 115200 is used. |
| | | |
− | --buffer-size | + | === Mémoire tampon (buffer) === |
− | -------------
| + | {{fname|--buffer-size}} |
| | | |
| Sets the buffer size used when transferring files betweem the host and the | | Sets the buffer size used when transferring files betweem the host and the |
Ligne 154 : |
Ligne 154 : |
| environment variable is not defined, then the default of 512 is used. | | environment variable is not defined, then the default of 512 is used. |
| | | |
− | -d, --debug | + | === Débogage === |
− | -----------
| + | {{fname|-d, --debug}} |
| | | |
| Turns on debugging. This allows you to see the script which is sent over | | Turns on debugging. This allows you to see the script which is sent over |
| the raw REPL and the response received. | | the raw REPL and the response received. |
| | | |
− | -e EDITOR, --editor | + | === Editeur de texte === |
− | -------------------
| + | {{fname|-e EDITOR, --editor}} |
| | | |
| Specifies the editor to use with the edit command. If no editor is specified, | | Specifies the editor to use with the edit command. If no editor is specified, |
Ligne 168 : |
Ligne 168 : |
| be used. | | be used. |
| | | |
− | -f FILENAME, --file FILENAME | + | === Fichier de commandes RSheel === |
− | ----------------------------
| + | {{fname|-f FILENAME, --file FILENAME}} |
| | | |
| Specifies a file of rshell commands to process. This allows you to | | Specifies a file of rshell commands to process. This allows you to |
| create a script which executes any valid rshell commands. | | create a script which executes any valid rshell commands. |
| | | |
− | -n, --nocolor | + | === Couleur du terminal === |
− | -------------
| + | {{fname|-n, --nocolor}} |
| | | |
| By default, rshell uses ANSI color escape codes when displaying the | | By default, rshell uses ANSI color escape codes when displaying the |
Ligne 181 : |
Ligne 181 : |
| disabled. | | disabled. |
| | | |
− | --wait | + | === Attendre le prompt === |
− | ------
| + | {{fname|--wait}} |
| | | |
| If a port is specified defines how long rshell will wait for the port to exist | | If a port is specified defines how long rshell will wait for the port to exist |
Ligne 188 : |
Ligne 188 : |
| immediate return. | | immediate return. |
| | | |
− | -p PORT, --port PORT | + | === Port série === |
− | --------------------
| + | {{fname|-p PORT, --port PORT}} |
| | | |
| Specifies the serial port which should be used to talk to the | | Specifies the serial port which should be used to talk to the |
Ligne 196 : |
Ligne 196 : |
| command line. | | command line. |
| | | |
− | --quiet | + | === Mode silencieux === |
− | -------
| + | {{fname|--quiet}} |
| | | |
| This option causes the Connecting messages printed when rshell starts to be | | This option causes the Connecting messages printed when rshell starts to be |
| suppressed. This is mostly useful the test scripts. | | suppressed. This is mostly useful the test scripts. |
| | | |
− | --timing | + | === Profilage === |
− | --------
| + | {{fname|--timing}} |
| | | |
| If the timing option is specified then rshell will print the amount of time | | If the timing option is specified then rshell will print the amount of time |
| that each command takes to execute. | | that each command takes to execute. |
| | | |
− | -u USER, --user USER | + | === Utilisateur (via Telnet) === |
− | --------------------
| + | {{fname|-u USER, --user USER}} |
| | | |
− | Specifies the username to use when logging into a WiPy over telent. If no | + | Specifies the username to use when logging into a WiPy over telnet. If no |
| username is specified, then the username from the RSHELL_USER environment | | username is specified, then the username from the RSHELL_USER environment |
| variable is used. If the RSHELL_USER environment variable doesn't exist | | variable is used. If the RSHELL_USER environment variable doesn't exist |
| then the default username 'micro' is used. | | then the default username 'micro' is used. |
| | | |
− | -w PASSWORD, --password PASSWORD | + | === Mot de passe (via Telnet) === |
− | --------------------------------
| + | {{fname|-w PASSWORD, --password PASSWORD}} |
| | | |
| Specified the password to use when logging into a WiPy over telnet. If no | | Specified the password to use when logging into a WiPy over telnet. If no |
Ligne 224 : |
Ligne 224 : |
| then the default password 'python' is used. | | then the default password 'python' is used. |
| | | |
− | cmd
| + | == Commande == |
− | ---
| |
− | | |
| If a command is specified, then that command will be executed and rshell will | | If a command is specified, then that command will be executed and rshell will |
| exit. Examples: | | exit. Examples: |