diff options
| author | 2015-10-06 22:10:56 +0200 | |
|---|---|---|
| committer | 2015-10-06 22:10:56 +0200 | |
| commit | d93043e6243e691a17135b221dd9275c10f8edbc (patch) | |
| tree | 4479f210e00f37d23f844e503f7f33236adab5c5 | |
| parent | 2d5c2195bbdcc02774fa3f70a23759b3cb8b4aed (diff) | |
| download | libimobiledevice-d93043e6243e691a17135b221dd9275c10f8edbc.tar.gz libimobiledevice-d93043e6243e691a17135b221dd9275c10f8edbc.tar.bz2 | |
tools: Use PACKAGE_URL define for homepage project links in usage output
| -rw-r--r-- | tools/idevice_id.c | 6 | ||||
| -rw-r--r-- | tools/idevicebackup.c | 2 | ||||
| -rw-r--r-- | tools/idevicebackup2.c | 6 | ||||
| -rw-r--r-- | tools/idevicecrashreport.c | 6 | ||||
| -rw-r--r-- | tools/idevicedate.c | 6 | ||||
| -rw-r--r-- | tools/idevicedebug.c | 6 | ||||
| -rw-r--r-- | tools/idevicedebugserverproxy.c | 6 | ||||
| -rw-r--r-- | tools/idevicediagnostics.c | 6 | ||||
| -rw-r--r-- | tools/ideviceenterrecovery.c | 6 | ||||
| -rw-r--r-- | tools/ideviceimagemounter.c | 6 | ||||
| -rw-r--r-- | tools/ideviceinfo.c | 6 | ||||
| -rw-r--r-- | tools/idevicename.c | 6 | ||||
| -rw-r--r-- | tools/idevicenotificationproxy.c | 6 | ||||
| -rw-r--r-- | tools/idevicepair.c | 6 | ||||
| -rw-r--r-- | tools/ideviceprovision.c | 7 | ||||
| -rw-r--r-- | tools/idevicescreenshot.c | 6 | ||||
| -rw-r--r-- | tools/idevicesyslog.c | 6 |
17 files changed, 82 insertions, 17 deletions
diff --git a/tools/idevice_id.c b/tools/idevice_id.c index 9629f8b..6f020ff 100644 --- a/tools/idevice_id.c +++ b/tools/idevice_id.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| @@ -42,7 +46,7 @@ static void print_usage(int argc, char **argv) | |||
| 42 | printf(" -d, --debug\t\tenable communication debugging\n"); | 46 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 43 | printf(" -h, --help\t\tprints usage information\n"); | 47 | printf(" -h, --help\t\tprints usage information\n"); |
| 44 | printf("\n"); | 48 | printf("\n"); |
| 45 | printf("Homepage: <http://libimobiledevice.org>\n"); | 49 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 46 | } | 50 | } |
| 47 | 51 | ||
| 48 | int main(int argc, char **argv) | 52 | int main(int argc, char **argv) |
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c index eefaa6f..2619cc9 100644 --- a/tools/idevicebackup.c +++ b/tools/idevicebackup.c | |||
| @@ -674,7 +674,7 @@ static void print_usage(int argc, char **argv) | |||
| 674 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 674 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 675 | printf(" -h, --help\t\tprints usage information\n"); | 675 | printf(" -h, --help\t\tprints usage information\n"); |
| 676 | printf("\n"); | 676 | printf("\n"); |
| 677 | printf("Homepage: <http://libimobiledevice.org>\n"); | 677 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 678 | } | 678 | } |
| 679 | 679 | ||
| 680 | int main(int argc, char *argv[]) | 680 | int main(int argc, char *argv[]) |
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index ead4dba..934cf39 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -20,6 +20,10 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include <config.h> | ||
| 25 | #endif | ||
| 26 | |||
| 23 | #include <stdio.h> | 27 | #include <stdio.h> |
| 24 | #include <string.h> | 28 | #include <string.h> |
| 25 | #include <errno.h> | 29 | #include <errno.h> |
| @@ -1139,7 +1143,7 @@ static void print_usage(int argc, char **argv) | |||
| 1139 | printf(" -i, --interactive\trequest passwords interactively\n"); | 1143 | printf(" -i, --interactive\trequest passwords interactively\n"); |
| 1140 | printf(" -h, --help\t\tprints usage information\n"); | 1144 | printf(" -h, --help\t\tprints usage information\n"); |
| 1141 | printf("\n"); | 1145 | printf("\n"); |
| 1142 | printf("Homepage: <http://libimobiledevice.org>\n"); | 1146 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 1143 | } | 1147 | } |
| 1144 | 1148 | ||
| 1145 | int main(int argc, char *argv[]) | 1149 | int main(int argc, char *argv[]) |
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c index b74a660..7ac9baf 100644 --- a/tools/idevicecrashreport.c +++ b/tools/idevicecrashreport.c | |||
| @@ -20,6 +20,10 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include <config.h> | ||
| 25 | #endif | ||
| 26 | |||
| 23 | #include <stdio.h> | 27 | #include <stdio.h> |
| 24 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| 25 | #include <string.h> | 29 | #include <string.h> |
| @@ -298,7 +302,7 @@ static void print_usage(int argc, char **argv) | |||
| 298 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 302 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 299 | printf(" -h, --help\t\tprints usage information\n"); | 303 | printf(" -h, --help\t\tprints usage information\n"); |
| 300 | printf("\n"); | 304 | printf("\n"); |
| 301 | printf("Homepage: <http://libimobiledevice.org>\n"); | 305 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 302 | } | 306 | } |
| 303 | 307 | ||
| 304 | int main(int argc, char* argv[]) { | 308 | int main(int argc, char* argv[]) { |
diff --git a/tools/idevicedate.c b/tools/idevicedate.c index f6bed7a..97243bb 100644 --- a/tools/idevicedate.c +++ b/tools/idevicedate.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <stdlib.h> | 27 | #include <stdlib.h> |
| 24 | #include <string.h> | 28 | #include <string.h> |
| @@ -51,7 +55,7 @@ static void print_usage(int argc, char **argv) | |||
| 51 | printf(" -c, --sync\t\tset time of device to current system time\n"); | 55 | printf(" -c, --sync\t\tset time of device to current system time\n"); |
| 52 | printf(" -h, --help\t\tprints usage information\n"); | 56 | printf(" -h, --help\t\tprints usage information\n"); |
| 53 | printf("\n"); | 57 | printf("\n"); |
| 54 | printf("Homepage: <http://libimobiledevice.org>\n"); | 58 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 55 | } | 59 | } |
| 56 | 60 | ||
| 57 | int main(int argc, char *argv[]) | 61 | int main(int argc, char *argv[]) |
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index 6a30ec4..b00893d 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <signal.h> | 26 | #include <signal.h> |
| 23 | #include <stdio.h> | 27 | #include <stdio.h> |
| 24 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| @@ -188,7 +192,7 @@ static void print_usage(int argc, char **argv) | |||
| 188 | printf(" -d, --debug\t\tenable communication debugging\n"); | 192 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 189 | printf(" -h, --help\t\tprints usage information\n"); | 193 | printf(" -h, --help\t\tprints usage information\n"); |
| 190 | printf("\n"); | 194 | printf("\n"); |
| 191 | printf("Homepage: <http://libimobiledevice.org>\n"); | 195 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 192 | } | 196 | } |
| 193 | 197 | ||
| 194 | int main(int argc, char *argv[]) | 198 | int main(int argc, char *argv[]) |
diff --git a/tools/idevicedebugserverproxy.c b/tools/idevicedebugserverproxy.c index 28bba5e..f270cdc 100644 --- a/tools/idevicedebugserverproxy.c +++ b/tools/idevicedebugserverproxy.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <stdlib.h> | 27 | #include <stdlib.h> |
| 24 | #include <string.h> | 28 | #include <string.h> |
| @@ -70,7 +74,7 @@ static void print_usage(int argc, char **argv) | |||
| 70 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 74 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 71 | printf(" -h, --help\t\tprints usage information\n"); | 75 | printf(" -h, --help\t\tprints usage information\n"); |
| 72 | printf("\n"); | 76 | printf("\n"); |
| 73 | printf("Homepage: <http://libimobiledevice.org>\n"); | 77 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 74 | } | 78 | } |
| 75 | 79 | ||
| 76 | static void *thread_device_to_client(void *data) | 80 | static void *thread_device_to_client(void *data) |
diff --git a/tools/idevicediagnostics.c b/tools/idevicediagnostics.c index 992bc0a..8b6569d 100644 --- a/tools/idevicediagnostics.c +++ b/tools/idevicediagnostics.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| @@ -296,5 +300,5 @@ void print_usage(int argc, char **argv) | |||
| 296 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 300 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 297 | printf(" -h, --help\t\tprints usage information\n"); | 301 | printf(" -h, --help\t\tprints usage information\n"); |
| 298 | printf("\n"); | 302 | printf("\n"); |
| 299 | printf("Homepage: <http://libimobiledevice.org>\n"); | 303 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 300 | } | 304 | } |
diff --git a/tools/ideviceenterrecovery.c b/tools/ideviceenterrecovery.c index 3069be8..21c4ff6 100644 --- a/tools/ideviceenterrecovery.c +++ b/tools/ideviceenterrecovery.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <errno.h> | 28 | #include <errno.h> |
| @@ -37,7 +41,7 @@ static void print_usage(int argc, char **argv) | |||
| 37 | printf(" -d, --debug\t\tenable communication debugging\n"); | 41 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 38 | printf(" -h, --help\t\tprints usage information\n"); | 42 | printf(" -h, --help\t\tprints usage information\n"); |
| 39 | printf("\n"); | 43 | printf("\n"); |
| 40 | printf("Homepage: <http://libimobiledevice.org>\n"); | 44 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 41 | } | 45 | } |
| 42 | 46 | ||
| 43 | int main(int argc, char *argv[]) | 47 | int main(int argc, char *argv[]) |
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c index a0f4b83..ad3222a 100644 --- a/tools/ideviceimagemounter.c +++ b/tools/ideviceimagemounter.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 23 | #define _GNU_SOURCE 1 | 27 | #define _GNU_SOURCE 1 |
| 24 | #define __USE_GNU 1 | 28 | #define __USE_GNU 1 |
| @@ -66,7 +70,7 @@ static void print_usage(int argc, char **argv) | |||
| 66 | printf(" -d, --debug\t\tenable communication debugging\n"); | 70 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 67 | printf(" -h, --help\t\tprints usage information\n"); | 71 | printf(" -h, --help\t\tprints usage information\n"); |
| 68 | printf("\n"); | 72 | printf("\n"); |
| 69 | printf("Homepage: <http://libimobiledevice.org>\n"); | 73 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 70 | } | 74 | } |
| 71 | 75 | ||
| 72 | static void parse_opts(int argc, char **argv) | 76 | static void parse_opts(int argc, char **argv) |
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c index 641a036..40bcac6 100644 --- a/tools/ideviceinfo.c +++ b/tools/ideviceinfo.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <errno.h> | 28 | #include <errno.h> |
| @@ -98,7 +102,7 @@ static void print_usage(int argc, char **argv) | |||
| 98 | printf(" %s\n", domains[i++]); | 102 | printf(" %s\n", domains[i++]); |
| 99 | } | 103 | } |
| 100 | printf("\n"); | 104 | printf("\n"); |
| 101 | printf("Homepage: <http://libimobiledevice.org>\n"); | 105 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 102 | } | 106 | } |
| 103 | 107 | ||
| 104 | int main(int argc, char *argv[]) | 108 | int main(int argc, char *argv[]) |
diff --git a/tools/idevicename.c b/tools/idevicename.c index b5b9e62..013becc 100644 --- a/tools/idevicename.c +++ b/tools/idevicename.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <unistd.h> | 28 | #include <unistd.h> |
| @@ -37,7 +41,7 @@ static void print_usage(void) | |||
| 37 | printf(" -u, --udid UDID\tuse UDID to target a specific device\n"); | 41 | printf(" -u, --udid UDID\tuse UDID to target a specific device\n"); |
| 38 | printf(" -h, --help\t\tprint usage information\n"); | 42 | printf(" -h, --help\t\tprint usage information\n"); |
| 39 | printf("\n"); | 43 | printf("\n"); |
| 40 | printf("Homepage: <http://libimobiledevice.org>\n"); | 44 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 41 | } | 45 | } |
| 42 | 46 | ||
| 43 | int main(int argc, char** argv) | 47 | int main(int argc, char** argv) |
diff --git a/tools/idevicenotificationproxy.c b/tools/idevicenotificationproxy.c index ff18eca..5e4ac9a 100644 --- a/tools/idevicenotificationproxy.c +++ b/tools/idevicenotificationproxy.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <errno.h> | 28 | #include <errno.h> |
| @@ -69,7 +73,7 @@ static void print_usage(int argc, char **argv) | |||
| 69 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 73 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 70 | printf(" -h, --help\t\tprints usage information\n"); | 74 | printf(" -h, --help\t\tprints usage information\n"); |
| 71 | printf("\n"); | 75 | printf("\n"); |
| 72 | printf("Homepage: <http://libimobiledevice.org>\n"); | 76 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 73 | } | 77 | } |
| 74 | 78 | ||
| 75 | static void notify_cb(const char *notification, void *user_data) | 79 | static void notify_cb(const char *notification, void *user_data) |
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index 237b168..f34369e 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c | |||
| @@ -20,6 +20,10 @@ | |||
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include <config.h> | ||
| 25 | #endif | ||
| 26 | |||
| 23 | #include <stdio.h> | 27 | #include <stdio.h> |
| 24 | #include <string.h> | 28 | #include <string.h> |
| 25 | #include <stdlib.h> | 29 | #include <stdlib.h> |
| @@ -71,7 +75,7 @@ static void print_usage(int argc, char **argv) | |||
| 71 | printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); | 75 | printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); |
| 72 | printf(" -h, --help prints usage information\n"); | 76 | printf(" -h, --help prints usage information\n"); |
| 73 | printf("\n"); | 77 | printf("\n"); |
| 74 | printf("Homepage: <http://libimobiledevice.org>\n"); | 78 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 75 | } | 79 | } |
| 76 | 80 | ||
| 77 | static void parse_opts(int argc, char **argv) | 81 | static void parse_opts(int argc, char **argv) |
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c index 9517af8..4915c05 100644 --- a/tools/ideviceprovision.c +++ b/tools/ideviceprovision.c | |||
| @@ -19,6 +19,11 @@ | |||
| 19 | * License along with this library; if not, write to the Free Software | 19 | * License along with this library; if not, write to the Free Software |
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ | 21 | */ |
| 22 | |||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include <config.h> | ||
| 25 | #endif | ||
| 26 | |||
| 22 | #include <stdio.h> | 27 | #include <stdio.h> |
| 23 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| 24 | #include <string.h> | 29 | #include <string.h> |
| @@ -57,7 +62,7 @@ static void print_usage(int argc, char **argv) | |||
| 57 | printf(" -x, --xml print XML output when using the 'dump' command\n"); | 62 | printf(" -x, --xml print XML output when using the 'dump' command\n"); |
| 58 | printf(" -h, --help prints usage information\n"); | 63 | printf(" -h, --help prints usage information\n"); |
| 59 | printf("\n"); | 64 | printf("\n"); |
| 60 | printf("Homepage: <http://libimobiledevice.org>\n"); | 65 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 61 | } | 66 | } |
| 62 | 67 | ||
| 63 | enum { | 68 | enum { |
diff --git a/tools/idevicescreenshot.c b/tools/idevicescreenshot.c index bff502c..da229e2 100644 --- a/tools/idevicescreenshot.c +++ b/tools/idevicescreenshot.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include <config.h> | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| @@ -147,5 +151,5 @@ void print_usage(int argc, char **argv) | |||
| 147 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 151 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 148 | printf(" -h, --help\t\tprints usage information\n"); | 152 | printf(" -h, --help\t\tprints usage information\n"); |
| 149 | printf("\n"); | 153 | printf("\n"); |
| 150 | printf("Homepage: <http://libimobiledevice.org>\n"); | 154 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 151 | } | 155 | } |
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 4bc4b45..47d2f8c 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | ||
| 23 | #include "config.h" | ||
| 24 | #endif | ||
| 25 | |||
| 22 | #include <stdio.h> | 26 | #include <stdio.h> |
| 23 | #include <string.h> | 27 | #include <string.h> |
| 24 | #include <errno.h> | 28 | #include <errno.h> |
| @@ -206,6 +210,6 @@ void print_usage(int argc, char **argv) | |||
| 206 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 210 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 207 | printf(" -h, --help\t\tprints usage information\n"); | 211 | printf(" -h, --help\t\tprints usage information\n"); |
| 208 | printf("\n"); | 212 | printf("\n"); |
| 209 | printf("Homepage: <http://libimobiledevice.org>\n"); | 213 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 210 | } | 214 | } |
| 211 | 215 | ||
