diff options
Diffstat (limited to 'src/fnettrace-sni')
-rw-r--r-- | src/fnettrace-sni/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fnettrace-sni/main.c b/src/fnettrace-sni/main.c index b8490b4f7..e7782d656 100644 --- a/src/fnettrace-sni/main.c +++ b/src/fnettrace-sni/main.c | |||
@@ -204,12 +204,13 @@ static void run_trace(void) { | |||
204 | close(s); | 204 | close(s); |
205 | } | 205 | } |
206 | 206 | ||
207 | static const char *const usage_str = | ||
208 | "Usage: fnettrace-sni [OPTIONS]\n" | ||
209 | "Options:\n" | ||
210 | " --help, -? - this help screen\n"; | ||
207 | 211 | ||
208 | static void usage(void) { | 212 | static void usage(void) { |
209 | printf("Usage: fnettrace-sni [OPTIONS]\n"); | 213 | puts(usage_str); |
210 | printf("Options:\n"); | ||
211 | printf(" --help, -? - this help screen\n"); | ||
212 | printf("\n"); | ||
213 | } | 214 | } |
214 | 215 | ||
215 | int main(int argc, char **argv) { | 216 | int main(int argc, char **argv) { |