- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for PrintDefaults (0.1 seconds)
-
src/cmd/asm/internal/flags/flags.go
} func (m *MultiFlag) Set(val string) error { (*m) = append(*m, val) return nil } func Usage() { fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() os.Exit(2) } func Parse() { objabi.Flagparse(Usage) if flag.NArg() == 0 { flag.Usage() } // Flag refinement. if *OutputFile == "" { if flag.NArg() != 1 { flag.Usage()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Apr 02 17:07:18 GMT 2026 - 3K bytes - Click Count (0) -
src/cmd/buildid/buildid.go
import ( "flag" "fmt" "log" "os" "strings" "cmd/internal/buildid" "cmd/internal/telemetry/counter" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n") flag.PrintDefaults() os.Exit(2) } var wflag = flag.Bool("w", false, "write build ID") func main() { log.SetPrefix("buildid: ") log.SetFlags(0) counter.Open() flag.Usage = usage flag.Parse()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 1.7K bytes - Click Count (0) -
docs/sts/assume-role.go
flag.StringVar(&sessionPolicyFile, "s", "", "File containing session policy to apply to the STS request") } func main() { flag.Parse() if minioUsername == "" || minioPassword == "" { flag.PrintDefaults() return } // The credentials package in minio-go provides an interface to call the // STS API. // Initialize credential options var stsOpts cr.STSAssumeRoleOptions
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
docs/sts/ldap.go
flag.StringVar(&sessionPolicyFile, "s", "", "File containing session policy to apply to the STS request") } func main() { flag.Parse() if ldapUsername == "" || ldapPassword == "" { flag.PrintDefaults() return } // The credentials package in minio-go provides an interface to call the // LDAP STS API. // Initialize LDAP credentials var ldapOpts []cr.LDAPIdentityOpt if sessionPolicyFile != "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 07 12:59:47 GMT 2024 - 4K bytes - Click Count (0)