add version to help
This commit is contained in:
+3
-1
@@ -7,7 +7,9 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
void print_help(int status_code) {
|
void print_help(int status_code) {
|
||||||
puts("usage: " NAME " "
|
puts(NAME
|
||||||
|
" " VERSION "\n\n"
|
||||||
|
"usage: " NAME " "
|
||||||
"[--help] "
|
"[--help] "
|
||||||
"[-v] "
|
"[-v] "
|
||||||
"[-q] "
|
"[-q] "
|
||||||
|
|||||||
Reference in New Issue
Block a user