diff options
author | Damien George <damien@micropython.org> | 2024-09-02 14:49:49 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-17 11:20:17 +1000 |
commit | 3d53b39a2a8b0d49f93a6c5915b22caa9ddae6d8 (patch) | |
tree | 0b70a164ac8e35b3f6358338b19b16c2fbeb82e1 /docs/reference | |
parent | 0d8388673e8456f6b0e92e6f5941e0e804513204 (diff) | |
download | micropython-3d53b39a2a8b0d49f93a6c5915b22caa9ddae6d8.tar.gz micropython-3d53b39a2a8b0d49f93a6c5915b22caa9ddae6d8.zip |
docs/reference: Fix pyboard.py filesystem cp example with three files.
Fix documentation to match behaviour (directories are not preserved).
Fixes issue #11101.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/pyboard.py.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/reference/pyboard.py.rst b/docs/reference/pyboard.py.rst index a06ffdcd8f..13fc6b7a7a 100644 --- a/docs/reference/pyboard.py.rst +++ b/docs/reference/pyboard.py.rst @@ -120,9 +120,8 @@ Some more examples:: # Same, but using . instead. $ pyboard.py --device /dev/ttyACM0 -f cp :main.py . - # Copy three files to the device, keeping their names - # and paths (note: `lib` must exist on the device) - $ pyboard.py --device /dev/ttyACM0 -f cp main.py app.py lib/foo.py : + # Copy three files to the device, keeping their names. + $ pyboard.py --device /dev/ttyACM0 -f cp main.py app.py foo.py : # Remove a file from the device. $ pyboard.py --device /dev/ttyACM0 -f rm util.py |