summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/eet/eet_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/eet/eet_main.c b/src/bin/eet/eet_main.c
index 6586aef..09ab935 100644
--- a/src/bin/eet/eet_main.c
+++ b/src/bin/eet/eet_main.c
@@ -463,6 +463,7 @@ help:
463 " eet -s FILE.EET PRIVATE_KEY PUBLIC_KEY sign FILE.EET with PRIVATE_KEY and attach PUBLIC_KEY as it's certificate\n" 463 " eet -s FILE.EET PRIVATE_KEY PUBLIC_KEY sign FILE.EET with PRIVATE_KEY and attach PUBLIC_KEY as it's certificate\n"
464 " eet -t FILE.EET give some statistic about a file\n" 464 " eet -t FILE.EET give some statistic about a file\n"
465 " eet -h print out this help message\n" 465 " eet -h print out this help message\n"
466 " eet -V [--version] show program version\n"
466 ); 467 );
467 eet_shutdown(); 468 eet_shutdown();
468 return -1; 469 return -1;
@@ -470,6 +471,8 @@ help:
470 471
471 if ((!strncmp(argv[1], "-h", 2))) 472 if ((!strncmp(argv[1], "-h", 2)))
472 goto help; 473 goto help;
474 else if ((!strncmp(argv[1], "-V", 2)) || (!strncmp(argv[1], "--version",9 )))
475 printf("Version: %s\n", PACKAGE_VERSION);
473 else if (((!strcmp(argv[1], "-l")) || (!strcmp(argv[1], "-v"))) && (argc > 2)) 476 else if (((!strcmp(argv[1], "-l")) || (!strcmp(argv[1], "-v"))) && (argc > 2))
474 { 477 {
475 if (argc == 3) 478 if (argc == 3)