From 6fd8536af092f689bee38cda75a801b5b8e710fa Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 6 Oct 2015 21:38:40 +0200 Subject: Show project URL in usage output --- src/idevicerestore.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 36996cd..cc69bb1 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -2,7 +2,7 @@ * idevicerestore.c * Restore device firmware and filesystem * - * Copyright (c) 2010-2013 Martin Szulecki. All Rights Reserved. + * Copyright (c) 2010-2015 Martin Szulecki. All Rights Reserved. * Copyright (c) 2012-2013 Nikias Bassen. All Rights Reserved. * Copyright (c) 2010 Joshua Hill. All Rights Reserved. * @@ -21,6 +21,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -95,6 +99,7 @@ void usage(int argc, char* argv[]) { printf(" -C, --cache-path DIR\tUse specified directory for caching extracted\n"); printf(" \tor other reused files.\n"); printf("\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); } static int load_version_data(struct idevicerestore_client_t* client) -- cgit v1.1-32-gdbae