rflag

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriptionFilterSetFlagVar

func DescriptionFilterSetFlagVar(f *pflag.FlagSet, s *types.DescriptionFilterSet, name string, usage string)

DescriptionFilterSetFlagVar defines a DescriptionFilterSet flag with specified name, shorthand and usage string. The argument s points to a DescriptionFilterSet variable in which to store the compiled values of the multiple flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name).

func DescriptionFilterSetFlagVarP

func DescriptionFilterSetFlagVarP(f *pflag.FlagSet, s *types.DescriptionFilterSet, name, shorthand string, usage string)

DescriptionFilterSetFlagVarP defines a DescriptionFilterSet flag with specified name, and usage string. The argument s points to a DescriptionFilterSet variable in which to store the compiled values of the multiple flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name or shorthand).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL