diff options
Diffstat (limited to 'src/fnettrace-icmp/main.c')
-rw-r--r-- | src/fnettrace-icmp/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fnettrace-icmp/main.c b/src/fnettrace-icmp/main.c index 714917547..516a9fc5b 100644 --- a/src/fnettrace-icmp/main.c +++ b/src/fnettrace-icmp/main.c | |||
@@ -201,11 +201,13 @@ static void run_trace(void) { | |||
201 | close(s); | 201 | close(s); |
202 | } | 202 | } |
203 | 203 | ||
204 | static const char *const usage_str = | ||
205 | "Usage: fnettrace-icmp [OPTIONS]\n" | ||
206 | "Options:\n" | ||
207 | " --help, -? - this help screen\n"; | ||
208 | |||
204 | static void usage(void) { | 209 | static void usage(void) { |
205 | printf("Usage: fnettrace-icmp [OPTIONS]\n"); | 210 | puts(usage_str); |
206 | printf("Options:\n"); | ||
207 | printf(" --help, -? - this help screen\n"); | ||
208 | printf("\n"); | ||
209 | } | 211 | } |
210 | 212 | ||
211 | int main(int argc, char **argv) { | 213 | int main(int argc, char **argv) { |