From d93043e6243e691a17135b221dd9275c10f8edbc Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 6 Oct 2015 22:10:56 +0200 Subject: tools: Use PACKAGE_URL define for homepage project links in usage output --- tools/idevice_id.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/idevice_id.c') 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 +#endif + #include #include #include @@ -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: \n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } int main(int argc, char **argv) -- cgit v1.1-32-gdbae