svn_opt_subcommand_help4

Function svn_opt_subcommand_help4 

Source
pub unsafe extern "C" fn svn_opt_subcommand_help4(
    subcommand: *const c_char,
    table: *const svn_opt_subcommand_desc3_t,
    options_table: *const apr_getopt_option_t,
    global_options: *const c_int,
    pool: *mut apr_pool_t,
)
Expand description

Get @a subcommand’s usage from @a table, and print it to @c stdout. Obtain option usage from @a options_table. If not @c NULL, @a global_options is a zero-terminated list of global options. Use @a pool for temporary allocation. @a subcommand may be a canonical command name or an alias. ### @todo Why does this only print to @c stdout, whereas svn_opt_print_generic_help() gives us a choice?

When printing the description of an option, if the same option code appears a second time in @a options_table with a different name, then use that second name as an alias for the first name. This additional behaviour is new in 1.7.

@since New in 1.11.