From b34e3435c21d06b3e5a4e7b5246fb6ddb6641a9f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 1 Oct 2018 02:32:51 +0200 Subject: tools: Remove length check on device UDID arguments to support newer devices The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string ""). --- docs/idevice_id.1 | 2 +- docs/idevicebackup.1 | 2 +- docs/idevicebackup2.1 | 2 +- docs/idevicecrashreport.1 | 2 +- docs/idevicedate.1 | 2 +- docs/idevicedebug.1 | 2 +- docs/idevicedebugserverproxy.1 | 2 +- docs/idevicediagnostics.1 | 2 +- docs/ideviceenterrecovery.1 | 2 +- docs/ideviceimagemounter.1 | 2 +- docs/ideviceinfo.1 | 2 +- docs/idevicename.1 | 2 +- docs/idevicenotificationproxy.1 | 2 +- docs/idevicepair.1 | 2 +- docs/ideviceprovision.1 | 2 +- docs/idevicescreenshot.1 | 2 +- docs/idevicesyslog.1 | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) (limited to 'docs') diff --git a/docs/idevice_id.1 b/docs/idevice_id.1 index cdc5342..e223dcb 100644 --- a/docs/idevice_id.1 +++ b/docs/idevice_id.1 @@ -8,7 +8,7 @@ idevice_id \- Prints device name or a list of attached devices. .SH DESCRIPTION Prints device name or a list of attached devices. -The UDID is a 40-digit hexadecimal number of the device +UDID is the unique device identifier of the device for which the name should be retrieved. .SH OPTIONS diff --git a/docs/idevicebackup.1 b/docs/idevicebackup.1 index a9330e0..517ca2a 100644 --- a/docs/idevicebackup.1 +++ b/docs/idevicebackup.1 @@ -12,7 +12,7 @@ Create or restore backup from the current or specified directory. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/idevicebackup2.1 b/docs/idevicebackup2.1 index 1b50a2b..6c40929 100644 --- a/docs/idevicebackup2.1 +++ b/docs/idevicebackup2.1 @@ -12,7 +12,7 @@ Create or restore backup from the current or specified directory. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-s, \-\-source UDID use backup data from device specified by UDID. diff --git a/docs/idevicecrashreport.1 b/docs/idevicecrashreport.1 index 24015d3..a3742e7 100644 --- a/docs/idevicecrashreport.1 +++ b/docs/idevicecrashreport.1 @@ -25,7 +25,7 @@ copy but do not remove crash reports from device. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-h, \-\-help prints usage information. diff --git a/docs/idevicedate.1 b/docs/idevicedate.1 index aa77df6..adb091a 100644 --- a/docs/idevicedate.1 +++ b/docs/idevicedate.1 @@ -15,7 +15,7 @@ Simple utility to manage the clock on a device. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-s, \-\-set TIMESTAMP set UTC time described by TIMESTAMP diff --git a/docs/idevicedebug.1 b/docs/idevicedebug.1 index daa3c0c..2024842 100644 --- a/docs/idevicedebug.1 +++ b/docs/idevicedebug.1 @@ -17,7 +17,7 @@ stdout/stderr of the process. set environment variable NAME to VALUE. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/idevicedebugserverproxy.1 b/docs/idevicedebugserverproxy.1 index 669806a..e2372e6 100644 --- a/docs/idevicedebugserverproxy.1 +++ b/docs/idevicedebugserverproxy.1 @@ -17,7 +17,7 @@ The developer disk image needs to be mounted for this service to be available. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/idevicediagnostics.1 b/docs/idevicediagnostics.1 index 460c17f..8a9b947 100644 --- a/docs/idevicediagnostics.1 +++ b/docs/idevicediagnostics.1 @@ -16,7 +16,7 @@ iOS 5 and later. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/ideviceenterrecovery.1 b/docs/ideviceenterrecovery.1 index feea733..cbceb36 100644 --- a/docs/ideviceenterrecovery.1 +++ b/docs/ideviceenterrecovery.1 @@ -7,7 +7,7 @@ ideviceenterrecovery \- Make a device enter recovery mode. .SH DESCRIPTION -Makes a device with the supplied 40-digit UDID enter recovery mode immediately. +Makes a device with the supplied UDID enter recovery mode immediately. .SH OPTIONS .TP diff --git a/docs/ideviceimagemounter.1 b/docs/ideviceimagemounter.1 index 4afdca6..322bd34 100644 --- a/docs/ideviceimagemounter.1 +++ b/docs/ideviceimagemounter.1 @@ -15,7 +15,7 @@ Mounts the specified disk image on the device. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-l, \-\-list list mount information diff --git a/docs/ideviceinfo.1 b/docs/ideviceinfo.1 index f61c713..d4ecbf0 100644 --- a/docs/ideviceinfo.1 +++ b/docs/ideviceinfo.1 @@ -15,7 +15,7 @@ Show information about the first connected device. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-q, \-\-domain NAME set domain of query to NAME. Default: None. diff --git a/docs/idevicename.1 b/docs/idevicename.1 index 67897f1..ee7cd02 100644 --- a/docs/idevicename.1 +++ b/docs/idevicename.1 @@ -21,7 +21,7 @@ is given the device name will be set to the name specified. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-h, \-\-help prints usage information diff --git a/docs/idevicenotificationproxy.1 b/docs/idevicenotificationproxy.1 index 75bf6b1..19cf02e 100644 --- a/docs/idevicenotificationproxy.1 +++ b/docs/idevicenotificationproxy.1 @@ -12,7 +12,7 @@ Post or observe notifications on an iOS device from the command line. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/idevicepair.1 b/docs/idevicepair.1 index e9916b3..5c567ee 100644 --- a/docs/idevicepair.1 +++ b/docs/idevicepair.1 @@ -12,7 +12,7 @@ Manage host pairings with devices and usbmuxd. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-d, \-\-debug enable communication debugging. diff --git a/docs/ideviceprovision.1 b/docs/ideviceprovision.1 index b79ea82..5f312a5 100644 --- a/docs/ideviceprovision.1 +++ b/docs/ideviceprovision.1 @@ -12,7 +12,7 @@ Manage provisioning profiles on a device. .SH OPTIONS .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-x, \-\-xml print XML output when using the 'dump' command. diff --git a/docs/idevicescreenshot.1 b/docs/idevicescreenshot.1 index c2b9619..7b6794c 100644 --- a/docs/idevicescreenshot.1 +++ b/docs/idevicescreenshot.1 @@ -22,7 +22,7 @@ the screenshotr service is not available. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID. +target specific device by UDID. .TP .B \-h, \-\-help prints usage information diff --git a/docs/idevicesyslog.1 b/docs/idevicesyslog.1 index 4230461..aa24339 100644 --- a/docs/idevicesyslog.1 +++ b/docs/idevicesyslog.1 @@ -15,7 +15,7 @@ Relay syslog of a connected device. enable communication debugging. .TP .B \-u, \-\-udid UDID -target specific device by its 40-digit device UDID +target specific device by UDID. .TP .B \-h, \-\-help prints usage information. -- cgit v1.1-32-gdbae