Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GlobalString (0.06 sec)

  1. cmd/common-main.go

    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    	ctxt.Addr = ctx.GlobalString("address")
    	if ctxt.Addr == "" || ctxt.Addr == ":"+GlobalMinioDefaultPort {
    		ctxt.Addr = ctx.String("address")
    	}
    
    	// Fetch console address option
    	ctxt.ConsoleAddr = ctx.GlobalString("console-address")
    	if ctxt.ConsoleAddr == "" {
    		ctxt.ConsoleAddr = ctx.String("console-address")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top