LCOV - code coverage report
Current view: top level - app/shared/commands - help.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 10 0.0 %
Date: 2025-03-20 12:08:36 Functions: 0 1 0.0 %

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

Generated by: LCOV version 1.14