From af024f5115d2d64074a5d404e452ed914f5020e4 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 9 Mar 2016 21:16:59 -0800 Subject: [PATCH] Bring back the format lists in --help --- adsbus/opts.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/adsbus/opts.c b/adsbus/opts.c index 7218fdb..d2b2c9d 100644 --- a/adsbus/opts.c +++ b/adsbus/opts.c @@ -4,6 +4,9 @@ #include #include +#include "receive.h" +#include "send.h" + #include "opts.h" #define OPTS_MAX 128 @@ -29,6 +32,8 @@ static void opts_print_usage() { for (size_t i = 0; i < opts_num; i++) { fprintf(stderr, "\t--%s%s%s\n", opts_long[i].name, opts[i].arg_help ? "=" : "", opts[i].arg_help ? opts[i].arg_help : ""); } + send_print_usage(); + receive_print_usage(); } static bool opts_help(const char __attribute__ ((unused)) *arg) {