summaryrefslogtreecommitdiff
path: root/bpfc.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-12-12 16:26:32 +0100
committerTobias Klauser <tklauser@distanz.ch>2014-12-12 16:26:32 +0100
commitb8a9e53262ab24231542e9ce93daadaf3809dac2 (patch)
tree4cda5115b819f51eae9eb37add05ab6f740fc729 /bpfc.c
parent49cf9fd16e4d47422b9aec2ab360bfd80e9f67cf (diff)
all: Reduce amount of empty liens in usage and version output a bit
No need for some of the empty lines, remove them to make the output a bit denser. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpfc.c')
-rw-r--r--bpfc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bpfc.c b/bpfc.c
index f56ec0d..c659e3f 100644
--- a/bpfc.c
+++ b/bpfc.c
@@ -36,14 +36,14 @@ static const char *copyright = "Please report bugs to <bugs@netsniff-ng.org>\n"
"Swiss federal institute of technology (ETH Zurich)\n"
"License: GNU GPL version 2.0\n"
"This is free software: you are free to change and redistribute it.\n"
- "There is NO WARRANTY, to the extent permitted by law.\n";
+ "There is NO WARRANTY, to the extent permitted by law.";
extern int compile_filter(char *file, int verbose, int bypass, int format,
bool invoke_cpp);
static void __noreturn help(void)
{
- printf("\nbpfc %s, a tiny BPF compiler\n", VERSION_STRING);
+ printf("bpfc %s, a tiny BPF compiler\n", VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"
"Usage: bpfc [options] || bpfc <program>\n"
"Options:\n"
@@ -63,16 +63,16 @@ static void __noreturn help(void)
" iptables -A INPUT -m bpf --bytecode \"`./bpfc -f xt_bpf -i fubar`\" -j LOG\n"
" bpfc - (read from stdin)\n"
"Note:\n"
- " Generation of seccomp-BPF filters are fully supported as well.\n\n");
+ " Generation of seccomp-BPF filters are fully supported as well.\n");
puts(copyright);
die();
}
static void __noreturn version(void)
{
- printf("\nbpfc %s, Git id: %s\n", VERSION_LONG, GITVERSION);
+ printf("bpfc %s, Git id: %s\n", VERSION_LONG, GITVERSION);
puts("a tiny BPF compiler\n"
- "http://www.netsniff-ng.org\n\n");
+ "http://www.netsniff-ng.org\n");
puts(copyright);
die();
}