From 45483fde74620a7497eb3d46aea2db07dd1f95ec Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 25 Jan 2022 02:04:15 -0800 Subject: [PATCH] Update CLI usages --- native/jni/su/su.cpp | 2 +- native/jni/zygisk/deny/cli.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/native/jni/su/su.cpp b/native/jni/su/su.cpp index 3ec0738ee..6cc1af2d4 100644 --- a/native/jni/su/su.cpp +++ b/native/jni/su/su.cpp @@ -39,7 +39,7 @@ static void usage(int status) { " -v, --version display version number and exit\n" " -V display version code and exit\n" " -mm, -M,\n" - " --mount-master force run in the global mount namespace\n"); + " --mount-master force run in the global mount namespace\n\n"); exit(status); } diff --git a/native/jni/zygisk/deny/cli.cpp b/native/jni/zygisk/deny/cli.cpp index 65b28ad05..98f26de4e 100644 --- a/native/jni/zygisk/deny/cli.cpp +++ b/native/jni/zygisk/deny/cli.cpp @@ -9,7 +9,7 @@ using namespace std; [[noreturn]] static void usage() { fprintf(stderr, -R"EOF("DenyList Config CLI +R"EOF(DenyList Config CLI Usage: magisk --denylist [action [arguments...] ] Actions: @@ -21,6 +21,7 @@ Actions: ls Print the current denylist exec CMDs... Execute commands in isolated mount namespace and do all unmounts + )EOF"); exit(1); }