bin: on listing help, put the pipeline in the right order
@@ -147,6 +147,13 @@ static void flb_help(int rc, struct flb_config *config)
}
printf(" %-22s%s\n", in->name, in->description);
}
+
+ printf("\n%sFilters%s\n", ANSI_BOLD, ANSI_RESET);
+ mk_list_foreach(head, &config->filter_plugins) {
+ filter = mk_list_entry(head, struct flb_filter_plugin, _head);
+ printf(" %-22s%s\n", filter->name, filter->description);
+ }
+
printf("\n%sOutputs%s\n", ANSI_BOLD, ANSI_RESET);
mk_list_foreach(head, &config->out_plugins) {
out = mk_list_entry(head, struct flb_output_plugin, _head);
@@ -157,12 +164,6 @@ static void flb_help(int rc, struct flb_config *config)
printf(" %-22s%s\n", out->name, out->description);
}
- printf("\n%sFilters%s\n", ANSI_BOLD, ANSI_RESET);
- mk_list_foreach(head, &config->filter_plugins) {
- filter = mk_list_entry(head, struct flb_filter_plugin, _head);
- printf(" %-22s%s\n", filter->name, filter->description);
- }
-
printf("\n%sInternal%s\n", ANSI_BOLD, ANSI_RESET);
printf(" Event Loop = %s\n", mk_event_backend());
printf(" Build Flags = %s\n", FLB_INFO_FLAGS);
