aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/usage.c
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-11 18:51:02 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-14 16:52:49 -0300
commit15ad8696c7cf95059f163b4f7ed86ca697e8fe1e (patch)
tree7d61eb67b0ee8118d653917fb50f446d8e6c4f9d /src/firemon/usage.c
parentStandardize usage string var declarations (diff)
downloadfirejail-15ad8696c7cf95059f163b4f7ed86ca697e8fe1e.tar.gz
firejail-15ad8696c7cf95059f163b4f7ed86ca697e8fe1e.tar.zst
firejail-15ad8696c7cf95059f163b4f7ed86ca697e8fe1e.zip
Move usage text into usage_str var
For consistency and readability. Note: This also makes exactly one extra blank line be printed at the end of every usage text, which is currently only done in the following files: * src/fcopy/main.c * src/fnettrace-dns/main.c * src/fnettrace-icmp/main.c * src/fnettrace-sni/main.c * src/fnettrace/main.c * src/profstats/main.c
Diffstat (limited to 'src/firemon/usage.c')
-rw-r--r--src/firemon/usage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/firemon/usage.c b/src/firemon/usage.c
index 411fc1600..afd2b552a 100644
--- a/src/firemon/usage.c
+++ b/src/firemon/usage.c
@@ -75,8 +75,7 @@ static const char *const usage_str =
75 "\tUser - The owner of the sandbox.\n" 75 "\tUser - The owner of the sandbox.\n"
76 "\n" 76 "\n"
77 "License GPL version 2 or later\n" 77 "License GPL version 2 or later\n"
78 "Homepage: https://firejail.wordpress.com\n" 78 "Homepage: https://firejail.wordpress.com\n";
79 "\n";
80 79
81void print_version(void) { 80void print_version(void) {
82 printf("firemon version %s\n\n", VERSION); 81 printf("firemon version %s\n\n", VERSION);