Add version info

This commit is contained in:
topjohnwu 2017-04-28 03:26:48 +08:00
parent 727abbea8f
commit 512e7be74f
4 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,7 @@ void kill_proc(int pid) {
static void usage(char *arg0) { static void usage(char *arg0) {
fprintf(stderr, fprintf(stderr,
"MagiskHide v" xstr(MAGISK_VERSION) " (by topjohnwu) - Hide Magisk!\n\n"
"%s [--options [arguments...] ]\n\n" "%s [--options [arguments...] ]\n\n"
"Options:\n" "Options:\n"
" --enable: Start the magiskhide daemon\n" " --enable: Start the magiskhide daemon\n"

@ -1 +1 @@
Subproject commit 9de3c582c02e63fdc9642a230baf2201b747557c Subproject commit 3e106a9dc53400b2dde2e80cff277a5552a447ac

View File

@ -108,6 +108,7 @@ static bool is_legal_property_name(const char* name, size_t namelen) {
static int usage(char* arg0) { static int usage(char* arg0) {
fprintf(stderr, fprintf(stderr,
"resetprop v" xstr(MAGISK_VERSION) " (by topjohnwu & nkk71) - System Props Modification Tool\n\n"
"Usage: %s [options] [args...]\n" "Usage: %s [options] [args...]\n"
"%s <name> <value>: Set property entry <name> with <value>\n" "%s <name> <value>: Set property entry <name> with <value>\n"
"%s --file <prop file>: Load props from <prop file>\n" "%s --file <prop file>: Load props from <prop file>\n"

2
jni/su

@ -1 +1 @@
Subproject commit c5583620349aa7700435bda0b0f356c3510e550e Subproject commit 9120f71f197e3cabf68c55154e30501679fb3aa8