From 81a3f11ae17b56051ac6c6661dd320e589aec72c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 30 Apr 2024 13:15:21 -0500 Subject: [PATCH] Doc tweak: accept -A as an alias for -a but don't try to explain it. The help text tries to answer the questions "what does this command do and how do I use it". Toybox silently accepts a lot of compatibility flags like patch -u that aren't in the help text to let it run existing scripts, but skips documenting them if doing so wouldn't doesn't help write NEW scripts. --- toys/other/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toys/other/sysctl.c b/toys/other/sysctl.c index 4af3426a..7a2cba62 100644 --- a/toys/other/sysctl.c +++ b/toys/other/sysctl.c @@ -11,11 +11,11 @@ config SYSCTL bool "sysctl" default y help - usage: sysctl [-aAeNnqw] [-p [FILE] | KEY[=VALUE]...] + usage: sysctl [-aeNnqw] [-p [FILE] | KEY[=VALUE]...] Read/write system control data (under /proc/sys). - -a,A Show all values + -a Show all values -e Don't warn about unknown keys -N Don't print key values -n Don't print key names -- 2.39.2