Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 91 of 91 for Verbose (0.1 sec)

  1. src/cmd/internal/objabi/flag.go

    	os.Exit(0)
    	return nil
    }
    
    // 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.
    type count int
    
    func (c *count) String() string {
    	return fmt.Sprint(int(*c))
    }
    
    func (c *count) Set(s string) error {
    	switch s {
    	case "true":
    		*c++
    	case "false":
    		*c = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top