mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Update CLI usages
This commit is contained in:
parent
d742cfa48f
commit
45483fde74
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user