wiringPi: Add copyright in gpio help messages

Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com>
This commit is contained in:
Joshua Yang
2019-07-17 12:19:46 +09:00
parent 47abe4c912
commit 58892f8d06

View File

@@ -1005,7 +1005,7 @@ static void doVersion (char *argv [])
wiringPiVersion (&vMaj, vMin) ; wiringPiVersion (&vMaj, vMin) ;
printf ("gpio version: %d.%s\n", vMaj, *vMin) ; printf ("gpio version: %d.%s\n", vMaj, *vMin) ;
printf ("Copyright (c) 2012-2017 Gordon Henderson\n") ; printf ("Copyright (c) 2012-2017 Gordon Henderson, 2017-2019 Hardkernel co., Ltd.\n") ;
printf ("This is free software with ABSOLUTELY NO WARRANTY.\n") ; printf ("This is free software with ABSOLUTELY NO WARRANTY.\n") ;
printf ("For details type: %s -warranty\n", argv [0]) ; printf ("For details type: %s -warranty\n", argv [0]) ;
printf ("\n") ; printf ("\n") ;
@@ -1083,7 +1083,7 @@ int main (int argc, char *argv [])
if (strcasecmp (argv [1], "-warranty") == 0) { if (strcasecmp (argv [1], "-warranty") == 0) {
printf ("gpio version: %s\n", VERSION) ; printf ("gpio version: %s\n", VERSION) ;
printf ("Copyright (c) 2012-2017 Gordon Henderson\n") ; printf ("Copyright (c) 2012-2017 Gordon Henderson, 2017-2019 Hardkernel co., Ltd.\n") ;
printf ("\n") ; printf ("\n") ;
printf (" This program is free software; you can redistribute it and/or modify\n") ; printf (" This program is free software; you can redistribute it and/or modify\n") ;
printf (" it under the terms of the GNU Leser General Public License as published\n") ; printf (" it under the terms of the GNU Leser General Public License as published\n") ;