summaryrefslogtreecommitdiffstats
path: root/src/ifuse.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-24 16:06:10 +0200
committerGravatar Matt Colyer2009-07-26 19:36:21 -0700
commit9a5b207568fef97d85cff881f3ffa61928a32952 (patch)
tree163bb12b445a68eec90a44d10ad1de7e0e759f88 /src/ifuse.c
parent07a2cc8c5f3bb8bd8a495ec68b919686bc0ee735 (diff)
downloadifuse-9a5b207568fef97d85cff881f3ffa61928a32952.tar.gz
ifuse-9a5b207568fef97d85cff881f3ffa61928a32952.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;