Rather than having to keep the usage in sync with the supported commands, simply include the usage as a field in the command handlers map and dynamically generate the usage from there. |
||
|---|---|---|
| .. | ||
| addblock | ||
| btcctl | ||
| dropafter | ||
| findcheckpoint | ||
| showblock | ||
Rather than having to keep the usage in sync with the supported commands, simply include the usage as a field in the command handlers map and dynamically generate the usage from there. |
||
|---|---|---|
| .. | ||
| addblock | ||
| btcctl | ||
| dropafter | ||
| findcheckpoint | ||
| showblock | ||