aboutsummaryrefslogtreecommitdiff
path: root/toys/android
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-04 14:22:12 -0800
committerRob Landley <rob@landley.net>2018-12-04 17:08:19 -0600
commit141a075c0e192dc9910e777270114b1864270bfd (patch)
tree2d62f0cedc34773310b23b3d8f55f577cbbaf9db /toys/android
parentbcf244f3e6ff3c76536063bc5f7d684c6fd4e3fd (diff)
downloadtoybox-141a075c0e192dc9910e777270114b1864270bfd.tar.gz
Clean up some --help formatting.
Be consistent about upper versus lower case. (Upper seems to have the majority, so I went with that, though I'm happy to provide the opposite patch as long as we're consistent!) Be consistent about using \t. (Though saving a few bytes seems like it might be better done in the code that generates help.h rather than directly in the source, since tabs make careful ASCII art layout hard enough that we regularly have things misaligned.) Remove trailing periods (most of which seem to have been added by me). Always use the US "human readable" rather than my British "human-readable", and be more consistent about declaring whether we're showing multiples of 1000 or 1024. Just say "verbose" rather than adding a useless "mode" or "output".
Diffstat (limited to 'toys/android')
-rw-r--r--toys/android/log.c4
-rw-r--r--toys/android/restorecon.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/toys/android/log.c b/toys/android/log.c
index f9545ab8..3fbc95a0 100644
--- a/toys/android/log.c
+++ b/toys/android/log.c
@@ -13,9 +13,9 @@ config LOG
Logs message to logcat.
- -p use the given priority instead of INFO:
+ -p Use the given priority instead of INFO:
d: DEBUG e: ERROR f: FATAL i: INFO v: VERBOSE w: WARN s: SILENT
- -t use the given tag instead of "log"
+ -t Use the given tag instead of "log"
*/
#define FOR_log
diff --git a/toys/android/restorecon.c b/toys/android/restorecon.c
index 5ea6b3f9..39261fd9 100644
--- a/toys/android/restorecon.c
+++ b/toys/android/restorecon.c
@@ -13,11 +13,11 @@ config RESTORECON
Restores the default security contexts for the given files.
- -D apply to /data/data too
- -F force reset
- -R recurse into directories
- -n don't make any changes; useful with -v to see what would change
- -v verbose: show any changes
+ -D Apply to /data/data too
+ -F Force reset
+ -R Recurse into directories
+ -n Don't make any changes; useful with -v to see what would change
+ -v Verbose
*/
#define FOR_restorecon