Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 845 for command (0.34 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/internal/tool/tool.go

    	Short:     "run specified go tool",
    	Long: `
    Tool runs the go tool command identified by the arguments.
    With no arguments it prints the list of known tools.
    
    The -n flag causes tool to print the command that would be
    executed but not execute it.
    
    For more about each tool command, see 'go doc cmd/<command>'.
    `,
    }
    
    var toolN bool
    
    // Return whether tool can be expected in the gccgo tool directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            if (StringUtil.isBlank(command)) {
                throw new CrawlerSystemException("command is empty.");
            }
    
            final Map<String, String> params = new HashMap<>();
            params.put("$INPUT_FILE", inputFile.getAbsolutePath());
            params.put("$OUTPUT_FILE", outputFile.getAbsolutePath());
    
            final List<String> cmdList = parseCommand(command, params);
            if (logger.isInfoEnabled()) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/script/cmds.go

    		})
    }
    
    // Wait waits for the completion of background commands.
    //
    // When Wait returns, the stdout and stderr buffers contain the concatenation of
    // the background commands' respective outputs in the order in which those
    // commands were started.
    func Wait() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "wait for completion of background commands",
    			Args:    "",
    			Detail: []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    		// with "." in the command.
    		dot := " ."
    		if dir[len(dir)-1] == filepath.Separator {
    			dot += string(filepath.Separator)
    		}
    		cmd = strings.ReplaceAll(" "+cmd, " "+dir, dot)[1:]
    	}
    
    	sh.printLocked(cmd + "\n")
    }
    
    // reportCmd reports the output and exit status of a command. The cmdOut and
    // cmdErr arguments are the output and exit error of the command, respectively.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. doc/next/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    <!-- go.dev/issue/34208, CL 563137, CL 586095 -->
    The new `go` `env` `-changed` flag causes the command to print only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/toolchain/select.go

    			// If we are racing with another go command and do bin/go first,
    			// then the check of bin/go above might succeed, the other go command
    			// would skip its own mode-setting, and then the go command might
    			// try to run a tool before we get to setting the bits on pkg/tool.
    			// Setting pkg/tool before bin/go avoids that ordering problem.
    			// The only other tool the go command invokes is gofmt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/build.go

    // the build command and only -coverprofile to the test command. If
    // the CoverageRedesign experiment is disabled, -cover* flags are
    // added only to the test command.
    func AddCoverFlags(cmd *base.Command, coverProfileFlag *string) {
    	addCover := false
    	if cfg.Experiment != nil && cfg.Experiment.CoverageRedesign {
    		// New coverage enabled: both build and test commands get
    		// coverage flags.
    		addCover = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top