summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-11-20 01:40:08 +0100
committerGravatar Nikias Bassen2019-11-20 01:40:08 +0100
commit9b857fc42cdc4921e1e3f190c5ea907774e04758 (patch)
tree0d94d885e5b03e52b019d3e9a30a25995f932b41 /tools
parent43852c74160394c0be876945b85c0656fa2bff81 (diff)
downloadlibimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.gz
libimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.bz2
tools: Fix ideviceinfo -s option
Diffstat (limited to 'tools')
-rw-r--r--tools/ideviceinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c
index bd3819e..f52cd00 100644
--- a/tools/ideviceinfo.c
+++ b/tools/ideviceinfo.c
@@ -138,6 +138,7 @@ int main(int argc, char *argv[])
138 { "network", no_argument, NULL, 'n' }, 138 { "network", no_argument, NULL, 'n' },
139 { "domain", required_argument, NULL, 'q' }, 139 { "domain", required_argument, NULL, 'q' },
140 { "key", required_argument, NULL, 'k' }, 140 { "key", required_argument, NULL, 'k' },
141 { "simple", no_argument, NULL, 's' },
141 { "xml", no_argument, NULL, 'x' }, 142 { "xml", no_argument, NULL, 'x' },
142 { NULL, 0, NULL, 0} 143 { NULL, 0, NULL, 0}
143 }; 144 };
@@ -146,7 +147,7 @@ int main(int argc, char *argv[])
146 signal(SIGPIPE, SIG_IGN); 147 signal(SIGPIPE, SIG_IGN);
147#endif 148#endif
148 149
149 while ((c = getopt_long(argc, argv, "dhu:nq:k:x", longopts, NULL)) != -1) { 150 while ((c = getopt_long(argc, argv, "dhu:nq:k:sx", longopts, NULL)) != -1) {
150 switch (c) { 151 switch (c) {
151 case 'd': 152 case 'd':
152 idevice_set_debug_level(1); 153 idevice_set_debug_level(1);