Commit d1289999 authored by Brianna Laugher's avatar Brianna Laugher Committed by Damien George

tools: Add filesystem action examples to pyboard.py help.

Signed-off-by: default avatarBrianna Laugher <brianna.laugher@gmail.com>
parent 701fdcac
...@@ -48,7 +48,9 @@ Running ``pyboard.py --help`` gives the following output: ...@@ -48,7 +48,9 @@ Running ``pyboard.py --help`` gives the following output:
available available
--follow follow the output after running the scripts --follow follow the output after running the scripts
[default if no scripts given] [default if no scripts given]
-f, --filesystem perform a filesystem action -f, --filesystem perform a filesystem action: cp local :device | cp
:device local | cat path | ls [path] | rm path | mkdir
path | rmdir path
Running a command on the device Running a command on the device
------------------------------- -------------------------------
......
...@@ -651,7 +651,11 @@ def main(): ...@@ -651,7 +651,11 @@ def main():
help="Do not follow the output after running the scripts.", help="Do not follow the output after running the scripts.",
) )
cmd_parser.add_argument( cmd_parser.add_argument(
"-f", "--filesystem", action="store_true", help="perform a filesystem action" "-f",
"--filesystem",
action="store_true",
help="perform a filesystem action: "
"cp local :device | cp :device local | cat path | ls [path] | rm path | mkdir path | rmdir path",
) )
cmd_parser.add_argument("files", nargs="*", help="input files") cmd_parser.add_argument("files", nargs="*", help="input files")
args = cmd_parser.parse_args() args = cmd_parser.parse_args()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment