summaryrefslogtreecommitdiff
path: root/tools/pyboard.py
diff options
context:
space:
mode:
authorBrianna Laugher <brianna.laugher@planetinnovation.com.au>2021-02-12 22:15:43 +1100
committerDamien George <damien@micropython.org>2021-02-13 14:37:28 +1100
commitd128999938d6b44f52f4d0c6e1f5169ab3c1e7a5 (patch)
tree69cd44fe79c88f7a7ed5eca857866a77d1411a48 /tools/pyboard.py
parent701fdcacafe017c88c8cf18f64d8c26f25987e97 (diff)
tools: Add filesystem action examples to pyboard.py help.
Signed-off-by: Brianna Laugher <brianna.laugher@gmail.com>
Diffstat (limited to 'tools/pyboard.py')
-rwxr-xr-xtools/pyboard.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/pyboard.py b/tools/pyboard.py
index 3ecdf03f1..069f7490d 100755
--- a/tools/pyboard.py
+++ b/tools/pyboard.py
@@ -651,7 +651,11 @@ def main():
help="Do not follow the output after running the scripts.",
)
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")
args = cmd_parser.parse_args()