Skip to content

Commit cac8909

Browse files
committed
fix copy command examples format
Signed-off-by: olalekan odukoya <[email protected]>
1 parent f47b60e commit cac8909

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

cmd/limactl/copy.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ const copyHelp = `Copy files between host and guest
2828
Prefix guest filenames with the instance name and a colon.
2929
3030
Backends:
31-
auto - Automatically selects the best available backend (rsync preferred, falls back to scp)
32-
rsync - Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
33-
scp - Uses scp for reliable transfers (always available)
31+
- **auto**: Automatically selects the best available backend (rsync preferred, falls back to scp)
32+
- **rsync**: Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
33+
- **scp**: Uses scp for reliable transfers (always available)
3434
3535
Examples:
36-
# Copy file from guest to host (auto backend)
37-
limactl copy default:/etc/os-release .
36+
#### Copy file from guest to host (auto backend)
37+
limactl copy default:/etc/os-release .
3838
39-
# Copy file from host to guest with verbose output
40-
limactl copy -v myfile.txt default:/tmp/
39+
#### Copy file from host to guest with verbose output
40+
limactl copy -v myfile.txt default:/tmp/
4141
42-
# Copy directory recursively using rsync backend
43-
limactl copy --backend=rsync -r ./mydir default:/tmp/
42+
#### Copy directory recursively using rsync backend
43+
limactl copy --backend=rsync -r ./mydir default:/tmp/
4444
45-
# Copy using scp backend specifically
46-
limactl copy --backend=scp default:/var/log/app.log ./logs/
45+
#### Copy using scp backend specifically
46+
limactl copy --backend=scp default:/var/log/app.log ./logs/
4747
48-
# Copy multiple files
49-
limactl copy file1.txt file2.txt default:/tmp/
48+
#### Copy multiple files
49+
limactl copy file1.txt file2.txt default:/tmp/
5050
5151
Not to be confused with 'limactl clone'.
5252
`

0 commit comments

Comments
 (0)