Lines Matching refs:flag
548 func (c *RuleBuilderCommand) Flag(flag string) *RuleBuilderCommand {
549 return c.Text(flag)
554 func (c *RuleBuilderCommand) OptionalFlag(flag *string) *RuleBuilderCommand {
555 if flag != nil {
556 c.Text(*flag)
565 for _, flag := range flags {
566 c.Text(flag)
574 func (c *RuleBuilderCommand) FlagWithArg(flag, arg string) *RuleBuilderCommand {
575 return c.Text(flag + arg)
580 func (c *RuleBuilderCommand) FlagForEachArg(flag string, args []string) *RuleBuilderCommand {
582 c.FlagWithArg(flag, arg)
590 func (c *RuleBuilderCommand) FlagWithList(flag string, list []string, sep string) *RuleBuilderComma…
591 return c.Text(flag + strings.Join(list, sep))
729 func (c *RuleBuilderCommand) FlagWithInput(flag string, path Path) *RuleBuilderCommand {
730 return c.Text(flag + c.addInput(path))
736 func (c *RuleBuilderCommand) FlagWithInputList(flag string, paths Paths, sep string) *RuleBuilderCo…
741 return c.FlagWithList(flag, strs, sep)
747 func (c *RuleBuilderCommand) FlagForEachInput(flag string, paths Paths) *RuleBuilderCommand {
749 c.FlagWithInput(flag, path)
756 func (c *RuleBuilderCommand) FlagWithOutput(flag string, path WritablePath) *RuleBuilderCommand {
758 return c.Text(flag + c.outputStr(path))
763 func (c *RuleBuilderCommand) FlagWithDepFile(flag string, path WritablePath) *RuleBuilderCommand {
765 return c.Text(flag + c.outputStr(path))
770 func (c *RuleBuilderCommand) FlagWithRspFileInputList(flag string, paths Paths) *RuleBuilderCommand…
784 c.FlagWithArg(flag, rspFile)