mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-10-02 16:09:00 +03:00
Document terminal subshell command !<line>
This commit is contained in:
@@ -1162,6 +1162,9 @@ Leave terminal mode and thus
|
||||
.Nm avrdude .
|
||||
.It Ar q
|
||||
Can be used as an alias for quit.
|
||||
.It Ar !<line>
|
||||
Run the shell <line> in a subshell, eg, !ls *.hex. Subshell commands are
|
||||
always complete lines on their own.
|
||||
.El
|
||||
.Pp
|
||||
The terminal commands below may only be implemented on some specific programmers, and may therefore not be available in the help menu.
|
||||
|
||||
@@ -2281,6 +2281,11 @@ Leave terminal mode and thus AVRDUDE.
|
||||
@item q
|
||||
Can be used as an alias for @code{quit}.
|
||||
|
||||
@item !@var{line}
|
||||
Run the shell @var{line} in a subshell, eg, @code{!ls *.hex}. Subshell
|
||||
commands are always complete lines on their own.
|
||||
|
||||
|
||||
@end table
|
||||
|
||||
@noindent
|
||||
|
||||
@@ -1675,7 +1675,7 @@ static int cmd_help(const PROGRAMMER *pgm, const AVRPART *p, int argc, char *arg
|
||||
term_out(cmd[i].desc, cmd[i].name);
|
||||
term_out("\n");
|
||||
}
|
||||
term_out(" !<scmd> : run the command <scmd> in a subshell, eg, !ls\n\n"
|
||||
term_out(" !<line> : run the shell <line> in a subshell, eg, !ls *.hex\n\n"
|
||||
"For more details about a terminal command cmd type cmd -?\n\n"
|
||||
"Note that not all programmer derivatives support all commands. Flash and\n"
|
||||
"EEPROM type memories are normally read and written using a cache via paged\n"
|
||||
|
||||
Reference in New Issue
Block a user