diff options
author | Martin Szulecki | 2009-07-24 16:06:10 +0200 |
---|---|---|
committer | Matt Colyer | 2009-07-26 19:36:21 -0700 |
commit | 9a5b207568fef97d85cff881f3ffa61928a32952 (patch) | |
tree | 163bb12b445a68eec90a44d10ad1de7e0e759f88 | |
parent | 07a2cc8c5f3bb8bd8a495ec68b919686bc0ee735 (diff) | |
download | ifuse-9a5b207568fef97d85cff881f3ffa61928a32952.tar.gz ifuse-9a5b207568fef97d85cff881f3ffa61928a32952.tar.bz2 |
Add --debug command line option
-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; |