summaryrefslogtreecommitdiffstats
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
parent43852c74160394c0be876945b85c0656fa2bff81 (diff)
downloadlibimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.gz
libimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.bz2
tools: Fix ideviceinfo -s option
-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[])
{ "network", no_argument, NULL, 'n' },
{ "domain", required_argument, NULL, 'q' },
{ "key", required_argument, NULL, 'k' },
+ { "simple", no_argument, NULL, 's' },
{ "xml", no_argument, NULL, 'x' },
{ NULL, 0, NULL, 0}
};
@@ -146,7 +147,7 @@ int main(int argc, char *argv[])
signal(SIGPIPE, SIG_IGN);
#endif
- while ((c = getopt_long(argc, argv, "dhu:nq:k:x", longopts, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "dhu:nq:k:sx", longopts, NULL)) != -1) {
switch (c) {
case 'd':
idevice_set_debug_level(1);