diff options
author | Nikias Bassen | 2019-11-20 01:40:08 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-11-20 01:40:08 +0100 |
commit | 9b857fc42cdc4921e1e3f190c5ea907774e04758 (patch) | |
tree | 0d94d885e5b03e52b019d3e9a30a25995f932b41 | |
parent | 43852c74160394c0be876945b85c0656fa2bff81 (diff) | |
download | libimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.gz libimobiledevice-9b857fc42cdc4921e1e3f190c5ea907774e04758.tar.bz2 |
tools: Fix ideviceinfo -s option
-rw-r--r-- | tools/ideviceinfo.c | 3 |
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); |