Update CLI usages

This commit is contained in:
topjohnwu 2022-01-25 02:04:15 -08:00
parent d742cfa48f
commit 45483fde74
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ static void usage(int status) {
" -v, --version display version number and exit\n" " -v, --version display version number and exit\n"
" -V display version code and exit\n" " -V display version code and exit\n"
" -mm, -M,\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); exit(status);
} }

View File

@ -9,7 +9,7 @@ using namespace std;
[[noreturn]] static void usage() { [[noreturn]] static void usage() {
fprintf(stderr, fprintf(stderr,
R"EOF("DenyList Config CLI R"EOF(DenyList Config CLI
Usage: magisk --denylist [action [arguments...] ] Usage: magisk --denylist [action [arguments...] ]
Actions: Actions:
@ -21,6 +21,7 @@ Actions:
ls Print the current denylist ls Print the current denylist
exec CMDs... Execute commands in isolated mount exec CMDs... Execute commands in isolated mount
namespace and do all unmounts namespace and do all unmounts
)EOF"); )EOF");
exit(1); exit(1);
} }