# svn_opt_subcommand_desc2_t Struct Reference

One element of a subcommand dispatch table. More...

`#include <svn_opt.h>`

## Data Fields
const char * | name
| The full name of this command.
svn_opt_subcommand_t * | cmd_func
| The function this command invokes.
const char * | aliases [SVN_OPT_MAX_ALIASES]
| A list of alias names for this command (e.g., 'up' for 'update').
const char * | help
| A brief string describing this command, for usage messages.
int | valid_options [SVN_OPT_MAX_OPTIONS]
| A list of options accepted by this command.
struct {
int optch
const char * desc
} | desc_overrides [SVN_OPT_MAX_OPTIONS]
| A list of option help descriptions, keyed by the option unique enum (the 2nd field in apr_getopt_option_t), which override the generic descriptions given in an apr_getopt_option_t on a per-subcommand basis.

## Detailed Description

One element of a subcommand dispatch table.

Since:
  New in 1.4.

Definition at line 82 of file svn_opt.h.

## Field Documentation

const char* svn_opt_subcommand_desc2_t::aliases[SVN_OPT_MAX_ALIASES]

A list of alias names for this command (e.g., 'up' for 'update').

Definition at line 91 of file svn_opt.h.

svn_opt_subcommand_t* svn_opt_subcommand_desc2_t::cmd_func

The function this command invokes.

Definition at line 88 of file svn_opt.h.

const char* svn_opt_subcommand_desc2_t::help

A brief string describing this command, for usage messages.

Definition at line 94 of file svn_opt.h.

const char* svn_opt_subcommand_desc2_t::name

The full name of this command.

Definition at line 85 of file svn_opt.h.

int svn_opt_subcommand_desc2_t::valid_options[SVN_OPT_MAX_OPTIONS]

A list of options accepted by this command.

Each value in the array is a unique enum (the 2nd field in apr_getopt_option_t)

Definition at line 99 of file svn_opt.h.

The documentation for this struct was generated from the following file:

- svn_opt.h

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines