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 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);
}

View File

@ -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);
}