aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/cp.c')
-rw-r--r--toys/posix/cp.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index 97cccb2f..0b1d0e49 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -28,22 +28,22 @@ config CP
Copy files from SOURCE to DEST. If more than one SOURCE, DEST must
be a directory.
- -D create leading dirs under DEST (--parents)
- -f delete destination files we can't write to
- -F delete any existing destination file first (--remove-destination)
- -i interactive, prompt before overwriting existing DEST
- -p preserve timestamps, ownership, and mode
- -R recurse into subdirectories (DEST must be a directory)
+ -D Create leading dirs under DEST (--parents)
+ -f Delete destination files we can't write to
+ -F Delete any existing destination file first (--remove-destination)
+ -i Interactive, prompt before overwriting existing DEST
+ -p Preserve timestamps, ownership, and mode
+ -R Recurse into subdirectories (DEST must be a directory)
-H Follow symlinks listed on command line
-L Follow all symlinks
-P Do not follow symlinks [default]
- -a same as -dpr
- -d don't dereference symlinks
- -l hard link instead of copy
- -n no clobber (don't overwrite DEST)
- -r synonym for -R
- -s symlink instead of copy
- -v verbose
+ -a Same as -dpr
+ -d Don't dereference symlinks
+ -l Hard link instead of copy
+ -n No clobber (don't overwrite DEST)
+ -r Synonym for -R
+ -s Symlink instead of copy
+ -v Verbose
config CP_PRESERVE
bool "cp --preserve support"
@@ -68,10 +68,10 @@ config MV
help
usage: mv [-fivn] SOURCE... DEST"
- -f force copy by deleting destination file
- -i interactive, prompt before overwriting existing DEST
- -v verbose
- -n no clobber (don't overwrite DEST)
+ -f Force copy by deleting destination file
+ -i Interactive, prompt before overwriting existing DEST
+ -v Verbose
+ -n No clobber (don't overwrite DEST)
config INSTALL
bool "install"