Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Flagfn1 (0.14 sec)

  1. src/cmd/link/internal/ld/main.go

    	flag.BoolVar(&ctxt.compressDWARF, "compressdwarf", true, "compress DWARF if possible")
    	objabi.Flagfn1("B", "add an ELF NT_GNU_BUILD_ID `note` when using ELF; use \"gobuildid\" to generate it from the Go build ID", addbuildinfo)
    	objabi.Flagfn1("L", "add specified `directory` to library path", func(a string) { Lflag(ctxt, a) })
    	objabi.AddVersionFlag() // -V
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/flag.go

    	"internal/buildcfg"
    	"io"
    	"log"
    	"os"
    	"reflect"
    	"sort"
    	"strconv"
    	"strings"
    )
    
    func Flagcount(name, usage string, val *int) {
    	flag.Var((*count)(val), name, usage)
    }
    
    func Flagfn1(name, usage string, f func(string)) {
    	flag.Var(fn1(f), name, usage)
    }
    
    func Flagprint(w io.Writer) {
    	flag.CommandLine.SetOutput(w)
    	flag.PrintDefaults()
    }
    
    func Flagparse(usage func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top