File: special_types.go

package info (click to toggle)
golang-github-voxelbrain-goptions 2.5.11-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 168 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package goptions

// Help Defines the common help flag. It is handled separately as it will cause
// Parse() to return ErrHelpRequest.
type Help bool

// Verbs marks the point in the struct where the verbs start. Its value will be
// the name of the selected verb.
type Verbs string

// A remainder catches all excessive arguments. If both a verb and
// the containing options struct have a remainder field, only the latter one
// will be used.
type Remainder []string