cli
cli copied to clipboard
docs: update docker cp --archive flag description to match source
Description
The -a/--archive flag description in the generated markdown docs was
outdated and did not match the description in the Go source code.
Fixes #6870
Changes
- Updated
docs/reference/commandline/cp.md - Updated
docs/reference/commandline/container_cp.md
Regenerated docs using scripts/with-go-mod.sh scripts/docs/generate-md.sh
to sync the markdown with the flag description in cli/command/container/cp.go.
Before:
Archive mode (copy all uid/gid information)
After:
Archive mode (preserve uid/gid from source when copying to container)
Type of change
- [x] Documentation fix
Codecov Report
:x: Patch coverage is 64.28571% with 5 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| cli/command/formatter/container.go | 66.66% | 2 Missing and 2 partials :warning: |
| cli/command/container/cp.go | 0.00% | 1 Missing :warning: |
:loudspeaker: Thoughts on this report? Let us know!