summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-03-21 14:35:23 +0100
committerGravatar Nikias Bassen2018-03-21 14:35:23 +0100
commit739a34ce8c711f975151d2ae6ef1e575d0aed764 (patch)
treed152de841f83eac4813c4ac8ab6d687ccdfded10
parent3a37a4e4a334ea2de52db534f105fe8dbe928628 (diff)
downloadlibimobiledevice-739a34ce8c711f975151d2ae6ef1e575d0aed764.tar.gz
libimobiledevice-739a34ce8c711f975151d2ae6ef1e575d0aed764.tar.bz2
idevicediagnostics: Add HDMI to the list of valid options for diagnostics command
-rw-r--r--tools/idevicediagnostics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicediagnostics.c b/tools/idevicediagnostics.c
index 8b6569d..2ea986f 100644
--- a/tools/idevicediagnostics.c
+++ b/tools/idevicediagnostics.c
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
cmd = CMD_DIAGNOSTICS;
/* read type */
i++;
- if (!argv[i] || ((strcmp(argv[i], "All") != 0) && (strcmp(argv[i], "WiFi") != 0) && (strcmp(argv[i], "GasGauge") != 0) && (strcmp(argv[i], "NAND") != 0))) {
+ if (!argv[i] || ((strcmp(argv[i], "All") != 0) && (strcmp(argv[i], "WiFi") != 0) && (strcmp(argv[i], "GasGauge") != 0) && (strcmp(argv[i], "NAND") != 0) && (strcmp(argv[i], "HDMI") != 0))) {
if (argv[i] == NULL) {
cmd_arg = strdup("All");
continue;