aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/cp.c4
-rw-r--r--toys/posix/df.c8
2 files changed, 5 insertions, 7 deletions
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index 817a0c62..a8d3aee9 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -28,11 +28,11 @@ config CP
-P Do not follow symlinks [default]
config CP_MORE
- bool "cp -rdavsl options"
+ bool "cp -adlnrsv options"
default y
depends on CP
help
- usage: cp [-rdavsl]
+ usage: cp [-adlnrsv]
-a same as -dpr
-d don't dereference symlinks
diff --git a/toys/posix/df.c b/toys/posix/df.c
index 97b3234f..ed41a4ee 100644
--- a/toys/posix/df.c
+++ b/toys/posix/df.c
@@ -26,12 +26,10 @@ config DF_PEDANTIC
usage: df [-Pk]
-P The SUSv3 "Pedantic" option
-
- Provides a slightly less useful output format dictated by
- the Single Unix Specification version 3, and sets the
- units to 512 bytes instead of the default 1024 bytes.
-
-k Sets units back to 1024 bytes (the default without -P)
+
+ Pedantic provides a slightly less useful output format dictated by Posix,
+ and sets the units to 512 bytes instead of the default 1024 bytes.
*/
#define FOR_df