diff options
author | Martin Szulecki | 2015-10-06 22:10:56 +0200 |
---|---|---|
committer | Martin Szulecki | 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -42,7 +46,7 @@ static void print_usage(int argc, char **argv) printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <errno.h> @@ -1139,7 +1143,7 @@ static void print_usage(int argc, char **argv) printf(" -i, --interactive\trequest passwords interactively\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -298,7 +302,7 @@ static void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -51,7 +55,7 @@ static void print_usage(int argc, char **argv) printf(" -c, --sync\t\tset time of device to current system time\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <signal.h> #include <stdio.h> #include <stdlib.h> @@ -188,7 +192,7 @@ static void print_usage(int argc, char **argv) printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -70,7 +74,7 @@ static void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -296,5 +300,5 @@ void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <errno.h> @@ -37,7 +41,7 @@ static void print_usage(int argc, char **argv) printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdlib.h> #define _GNU_SOURCE 1 #define __USE_GNU 1 @@ -66,7 +70,7 @@ static void print_usage(int argc, char **argv) printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <errno.h> @@ -98,7 +102,7 @@ static void print_usage(int argc, char **argv) printf(" %s\n", domains[i++]); } printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <unistd.h> @@ -37,7 +41,7 @@ static void print_usage(void) printf(" -u, --udid UDID\tuse UDID to target a specific device\n"); printf(" -h, --help\t\tprint usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <errno.h> @@ -69,7 +73,7 @@ static void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -71,7 +75,7 @@ static void print_usage(int argc, char **argv) printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); printf(" -h, --help prints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -57,7 +62,7 @@ static void print_usage(int argc, char **argv) printf(" -x, --xml print XML output when using the 'dump' command\n"); printf(" -h, --help prints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -147,5 +151,5 @@ void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } 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 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <errno.h> @@ -206,6 +210,6 @@ void print_usage(int argc, char **argv) printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <http://libimobiledevice.org>\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } |