Commit f799db67 authored by topjohnwu's avatar topjohnwu

Add version info

parent a0de3fc6
...@@ -33,6 +33,7 @@ static void usage(int status) { ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment