Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,597 for Commands (0.18 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	}
    	sort.Strings(commands)
    
    	var help string
    	if commandLine {
    		help = "  Output formats (select at most one):\n"
    	} else {
    		help = "  Commands:\n"
    		commands = append(commands, fmtHelp("o/options", "List options and their current values"))
    		commands = append(commands, fmtHelp("q/quit/exit/^D", "Exit pprof"))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/base.go

    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    	// The order here is the order in which they are printed by 'go help'.
    	// Note that subcommands are in general best avoided.
    	Commands []*Command
    }
    
    var Go = &Command{
    	UsageLine: "go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/help.go

    		base.Exit()
    	}
    
    	if len(cmd.Commands) > 0 {
    		PrintUsage(os.Stdout, cmd)
    	} else {
    		tmpl(os.Stdout, helpTemplate, cmd)
    	}
    	// not exit 2: succeeded at 'go help cmd'.
    	return
    }
    
    var usageTemplate = `{{.Long | trim}}
    
    Usage:
    
    	{{.UsageLine}} <command> [arguments]
    
    The commands are:
    {{range .Commands}}{{if or (.Runnable) .Commands}}
    	{{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/genman/gen_kube_man.go

    	if len(command.Example) > 0 {
    		fmt.Fprintf(out, "# EXAMPLE\n")
    		fmt.Fprintf(out, "```\n%s\n```\n", command.Example)
    	}
    
    	if len(command.Commands()) > 0 || len(parent) > 0 {
    		fmt.Fprintf(out, "# SEE ALSO\n")
    		if len(parent) > 0 {
    			fmt.Fprintf(out, "**%s(1)**, ", dparent)
    		}
    		for _, c := range command.Commands() {
    			fmt.Fprintf(out, "**%s-%s(1)**, ", dname, c.Name())
    			genMarkdown(c, name, docsDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 12:03:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        protected int executeCommand(final String[] commands, final String username, final String password) {
            if (commands == null || commands.length == 0) {
                throw new CommandExecutionException("command is empty.");
            }
    
            if (logger.isInfoEnabled()) {
                logger.info("Command: {}", String.join(" ", commands));
            }
    
            final String[] cmds = stream(commands).get(stream -> stream.map(s -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/generate/generate.go

    }
    
    // setShorthand installs a new shorthand as defined by a -command directive.
    func (g *Generator) setShorthand(words []string) {
    	// Create command shorthand.
    	if len(words) == 1 {
    		g.errorf("no command specified for -command")
    	}
    	command := words[1]
    	if g.commands[command] != nil {
    		g.errorf("command %q multiply defined", command)
    	}
    	g.commands[command] = slices.Clip(words[2:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/dist/main.go

    list [-json] [-broken]  list all supported platforms
    test [-h]               run Go test(s)
    version                 print Go version
    
    All commands take -v flags to emit extra information.
    `)
    	xexit(2)
    }
    
    // commands records the available commands.
    var commands = map[string]func(){
    	"banner":    cmdbanner,
    	"bootstrap": cmdbootstrap,
    	"clean":     cmdclean,
    	"env":       cmdenv,
    	"install":   cmdinstall,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/go/chdir_test.go

    	// Test that every command either has a -C flag registered
    	// or has CustomFlags set. In the latter case, the command
    	// must be explicitly tested in TestScript/chdir.
    	script, err := os.ReadFile("testdata/script/chdir.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var walk func(string, *base.Command)
    	walk = func(name string, cmd *base.Command) {
    		if len(cmd.Commands) > 0 {
    			for _, sub := range cmd.Commands {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/README

    Commands are executed one at a time, and errors are checked for each command;
    if any command fails unexpectedly, no subsequent commands in the script are
    executed. The command prefix ! indicates that the command on the rest of the
    line (typically go or a matching predicate) must fail instead of succeeding.
    The command prefix ? indicates that the command may or may not succeed, but the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top