mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 12:35:26 +00:00
Add version info
This commit is contained in:
parent
a0de3fc643
commit
f799db67eb
1
su.c
1
su.c
@ -33,6 +33,7 @@ static void usage(int status) {
|
|||||||
FILE *stream = (status == EXIT_SUCCESS) ? stdout : stderr;
|
FILE *stream = (status == EXIT_SUCCESS) ? stdout : stderr;
|
||||||
|
|
||||||
fprintf(stream,
|
fprintf(stream,
|
||||||
|
"MagiskSU v" xstr(MAGISK_VERSION) "\n\n"
|
||||||
"Usage: su [options] [--] [-] [LOGIN] [--] [args...]\n\n"
|
"Usage: su [options] [--] [-] [LOGIN] [--] [args...]\n\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" -c, --command COMMAND pass COMMAND to the invoked shell\n"
|
" -c, --command COMMAND pass COMMAND to the invoked shell\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user