1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 09:52:03 +08:00

commands: Got rid of old helptext fields, use HelpText struct fields in helptext generator

This commit is contained in:
Matt Bell
2014-11-13 00:10:40 -08:00
committed by Juan Batiz-Benet
parent e700b16576
commit 646920b0dd
2 changed files with 15 additions and 52 deletions

View File

@ -44,13 +44,6 @@ type HelpText struct {
// Command is a runnable command, with input arguments and options (flags).
// It can also have Subcommands, to group units of work into sets.
type Command struct {
// TODO: remove these fields after porting commands to HelpText struct
Description string
Help string
SubcommandHelp string
OptionHelp string
ArgumentHelp string
Options []Option
Arguments []Argument
Run Function