commit 1df752106bae9bb6aee0332057b2278f0ff5f287
parent 4e5f38b8c4c785718c7b378d0262c9f663f41a93
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 25 Nov 2018 18:12:55 +0100
Remove versionInfo(), simply print the header with version information when invoked with -v
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -36,7 +36,6 @@
/* prototypes */
static void showHelp(void);
static void listExamples(void);
-static void versionInfo(void);
static void synopsis(void);
static void
@@ -81,16 +80,6 @@ listExamples(void)
"\n");
}
-static void
-versionInfo(void)
-{
- fprintf(stderr, "All rights reserved.\n"
- "\nFork me on GitHub: <https:/*github.com/ansilove/ansilove>\n"
- "Bug reports: <https:/*github.com/ansilove/ansilove/issues>\n\n"
- "This is free software, released under the 2-Clause BSD license.\n"
- "<https:/*github.com/ansilove/ansilove/blob/master/LICENSE>\n\n");
-}
-
/* following the IEEE Std 1003.1 for utility conventions */
static void
synopsis(void)
@@ -223,7 +212,6 @@ main(int argc, char *argv[])
justDisplaySAUCE = true;
break;
case 'v':
- versionInfo();
return EXIT_SUCCESS;
}
}