src.elv.sh/pkg/getopt.Context.Type (field)

14 uses

	src.elv.sh/pkg/getopt (current package)
		getopt.go#L87: 	Type ContextType
		getopt.go#L237: 		ctx.Type, ctx.Option = OptionArgument, opt
		getopt.go#L239: 		ctx.Type, ctx.Text = Argument, elem
		getopt.go#L241: 		ctx.Type = NewOptionOrArgument
		getopt.go#L243: 		ctx.Type = NewOption
		getopt.go#L245: 		ctx.Type = NewLongOption
		getopt.go#L248: 			ctx.Type, ctx.Text = LongOption, elem[2:]
		getopt.go#L251: 			ctx.Type, ctx.Option = OptionArgument, newopt
		getopt.go#L256: 				ctx.Type, ctx.Text = LongOption, elem[1:]
		getopt.go#L259: 				ctx.Type, ctx.Option = OptionArgument, newopt
		getopt.go#L265: 				ctx.Type = ChainShortOption
		getopt.go#L268: 				ctx.Type, ctx.Option = OptionArgument, newopts[len(newopts)-1]
		getopt.go#L272: 		ctx.Type, ctx.Text = Argument, elem

	src.elv.sh/pkg/edit
		complete_getopt.go#L140: 	switch ctx.Type {