summaryrefslogtreecommitdiffstats
path: root/src/ifuse.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-24 16:06:10 +0200
committerGravatar Martin Szulecki2009-07-24 16:06:10 +0200
commit7423ddd39dca71c06aba327832b68524af3e07ae (patch)
tree85f55f22c1ec906e994f4467ae44ad6cf7e66c9d /src/ifuse.c
parentbe7fc51d8a7de5809c4889e7453373bce8bebaaf (diff)
downloadifuse-7423ddd39dca71c06aba327832b68524af3e07ae.tar.gz
ifuse-7423ddd39dca71c06aba327832b68524af3e07ae.tar.bz2
Add --debug command line option
Diffstat (limited to 'src/ifuse.c')
-rw-r--r--src/ifuse.c4
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;