- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,881 for flag (0.22 sec)
-
src/cmd/go/internal/cmdflag/flag.go
// // ParseOne always returns either a non-nil Flag or a non-nil error, // and always consumes at least one argument (even on error). // // Unlike (*flag.FlagSet).Parse, ParseOne does not log its own errors. func ParseOne(fs *flag.FlagSet, args []string) (f *flag.Flag, remainingArgs []string, err error) { // This function is loosely derived from (*flag.FlagSet).parseOne. raw, args := args[0], args[1:] arg := raw
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/internal/objabi/flag.go
// expect form ssa/phase/flag // e.g. -d=ssa/generic_cse/time // _ in phase name also matches space phase := name[4:] flag := "debug" // default flag is debug if i := strings.Index(phase, "/"); i >= 0 { flag = phase[i+1:] phase = phase[:i] } err := f.debugSSA(phase, flag, val, valstring) if err != "" { log.Fatalf(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 23:08:09 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/go/internal/base/flag.go
} // AddBuildFlagsNX adds the -n and -x build flags to the flag set. func AddBuildFlagsNX(flags *flag.FlagSet) { flags.BoolVar(&cfg.BuildN, "n", false, "") flags.BoolVar(&cfg.BuildX, "x", false, "") } // AddChdirFlag adds the -C flag to the flag set. func AddChdirFlag(flags *flag.FlagSet) { // The usage message is never printed, but it's used in chdir_test.go // to identify that the -C flag is from AddChdirFlag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/go/internal/load/flag.go
) // A PerPackageFlag is a command-line flag implementation (a flag.Value) // that allows specifying different effective flags for different packages. // See 'go help build' for more details about per-package flags. type PerPackageFlag struct { raw string present bool values []ppfValue } // A ppfValue is a single <pattern>=<flags> per-package flag value. type ppfValue struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:20:43 UTC 2022 - 2.6K bytes - Viewed (0) -
src/flag/flag.go
// license that can be found in the LICENSE file. /* Package flag implements command-line flag parsing. # Usage Define flags using [flag.String], [Bool], [Int], etc. This declares an integer flag, -n, stored in the pointer nFlag, with type *int: import "flag" var nFlag = flag.Int("n", 1234, "help message for flag n") If you like, you can bind the flag to a variable using the Var() functions. var flagvar int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0) -
pkg/flag/flag.go
// limitations under the License. package flag import ( "os" "strings" "time" "github.com/spf13/pflag" ) // Flaggable defines the set of types that can be flags. // This is not exhaustive; add more as needed type Flaggable interface { string | bool | uint16 | time.Duration } var replacer = strings.NewReplacer("-", "_")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/config/bool-flag.go
Anis Elleuch <******@****.***> 1649344240 +0100
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 07 15:10:40 UTC 2022 - 2.3K bytes - Viewed (0) -
releasenotes/notes/add-overwrite-flag.yaml
apiVersion: release-notes/v2 kind: feature area: istioctl issue: - 51312 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 16:00:06 UTC 2024 - 255 bytes - Viewed (0) -
releasenotes/notes/drop-legacy-ingress-flag.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 27 03:04:37 UTC 2023 - 149 bytes - Viewed (0) -
releasenotes/notes/drop-legacy-lb-flag.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 27 22:17:29 UTC 2023 - 154 bytes - Viewed (0)