LCOV - code coverage report
Current view: top level - app/fdctl - help.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 12 0.0 %
Date: 2024-11-13 11:58:15 Functions: 0 1 0.0 %

          Line data    Source code
       1             : #include "fdctl.h"
       2             : 
       3             : void
       4             : help_cmd_fn( args_t *         args,
       5           0 :              config_t * const config ) {
       6           0 :   (void)args;
       7           0 :   (void)config;
       8             : 
       9           0 :   FD_LOG_STDOUT(( "Firedancer control binary\n\n" ));
      10           0 :   FD_LOG_STDOUT(( "Usage: fdctl [OPTIONS] <SUBCOMMAND>\n\n" ));
      11           0 :   FD_LOG_STDOUT(( "\nOPTIONS:\n" ));
      12             :   /* fdctl does not have many flag arguments so we hard-code the
      13             :      --config parameter. */
      14           0 :   FD_LOG_STDOUT(( "        --config <PATH>    Path to config TOML file\n\n" ));
      15           0 :   FD_LOG_STDOUT(( "SUBCOMMANDS:\n" ));
      16           0 :   for( ulong i=0; i<ACTIONS_CNT ; i++ ) {
      17           0 :     FD_LOG_STDOUT(( "    %9s    %s\n", ACTIONS[ i ].name, ACTIONS[ i ].description ));
      18           0 :   }
      19           0 : }

Generated by: LCOV version 1.14