go123: lab.nexedi.com/kirr/go123/xflag Index | Files

package xflag

import "lab.nexedi.com/kirr/go123/xflag"

Package xflag provides addons to standard package flag.

Index

Package Files

doc.go xflag.go

type Count Uses

type Count int

Count is a flag.Value that is like a flag.Bool and a flag.Int. If used as -name, it increments the Count, but -name=x sets the Count. Used for verbose flag -v.

func (*Count) IsBoolFlag Uses

func (c *Count) IsBoolFlag() bool

func (*Count) Set Uses

func (c *Count) Set(s string) error

func (*Count) String Uses

func (c *Count) String() string

Package xflag imports 2 packages (graph) and is imported by 1 packages. Updated 2019-08-12. Refresh now. Tools for package owners.