Skip to content

Commit

Permalink
docs/reference: Fix pyboard.py filesystem cp example with three files.
Browse files Browse the repository at this point in the history
Fix documentation to match behaviour (directories are not preserved).

Fixes issue micropython#11101.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Sep 17, 2024
1 parent 0d83886 commit 3d53b39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/reference/pyboard.py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d53b39

Please sign in to comment.