aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firemon/usage.c')
-rw-r--r--src/firemon/usage.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/firemon/usage.c b/src/firemon/usage.c
index 1cb1b7cfc..0fb9908c5 100644
--- a/src/firemon/usage.c
+++ b/src/firemon/usage.c
@@ -78,7 +78,11 @@ static char *help_str =
78 "Homepage: https://firejail.wordpress.com\n" 78 "Homepage: https://firejail.wordpress.com\n"
79 "\n"; 79 "\n";
80 80
81void print_version(void) {
82 printf("firemon version %s\n\n", VERSION);
83}
84
81void usage(void) { 85void usage(void) {
82 printf("firemon version %s\n", VERSION); 86 print_version();
83 puts(help_str); 87 puts(help_str);
84} 88}