aboutsummaryrefslogtreecommitdiffstats
path: root/src/jailcheck
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-11 14:02:12 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-14 16:50:28 -0300
commitfcbc8ce972e1a035c30e945c7e985beda841f809 (patch)
treec9b8cf1ae78a880c7498b1f6992fb369b756b16b /src/jailcheck
parentjailcheck: fix wrong program name in --version (diff)
downloadfirejail-fcbc8ce972e1a035c30e945c7e985beda841f809.tar.gz
firejail-fcbc8ce972e1a035c30e945c7e985beda841f809.tar.zst
firejail-fcbc8ce972e1a035c30e945c7e985beda841f809.zip
Remove dash before version on --help output
Currently, --version doesn't print a dash while --help does. Example: $ firejail --version | grep 'version 0' firejail version 0.9.73 $ firejail --help | grep 'version 0' firejail - version 0.9.73 For consistency, always print the version without a dash. Commands used to search and replace: $ git grep -IFlz ' - version' -- src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed 's/ - version/ version/' '{}')\" >'{}'"
Diffstat (limited to 'src/jailcheck')
-rw-r--r--src/jailcheck/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jailcheck/main.c b/src/jailcheck/main.c
index 8fe189d57..e01f1ca4e 100644
--- a/src/jailcheck/main.c
+++ b/src/jailcheck/main.c
@@ -38,7 +38,7 @@ static char *usage_str =
38 38
39 39
40static void usage(void) { 40static void usage(void) {
41 printf("jailcheck - version %s\n\n", VERSION); 41 printf("jailcheck version %s\n\n", VERSION);
42 puts(usage_str); 42 puts(usage_str);
43} 43}
44 44