diff options
author | Martin Szulecki | 2009-07-24 16:06:10 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-07-24 16:06:10 +0200 |
commit | 7423ddd39dca71c06aba327832b68524af3e07ae (patch) | |
tree | 85f55f22c1ec906e994f4467ae44ad6cf7e66c9d /src | |
parent | be7fc51d8a7de5809c4889e7453373bce8bebaaf (diff) | |
download | ifuse-7423ddd39dca71c06aba327832b68524af3e07ae.tar.gz ifuse-7423ddd39dca71c06aba327832b68524af3e07ae.tar.bz2 |
Add --debug command line option
Diffstat (limited to 'src')
-rw-r--r-- | src/ifuse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c index 2ca64d2..2bc0c2f 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -465,6 +465,10 @@ static int ifuse_opt_proc(void *data, const char *arg, int key, struct fuse_args else if (strcmp(arg, "--root") == 0) { ifuse_oper.init = ifuse_init_jailbroken; return 0; + } else if (strcmp(arg, "--debug") == 0) { + iphone_set_debug_mask(DBGMASK_ALL); + iphone_set_debug(1); + return 0; } else return 0; break; |