You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/jennifer/gennames
    
    the code of the file until where you have to start completion: package main

import (
	"bytes"
	"flag"
	"log"
	"os"
)

func main() {
	// notest

	var out = flag.String("output", "./package-names.go", "Output filename to write")
	var pkg = flag.String("package", "main", "Package name in generated file")
	var name = flag.String("n
    
func main() {
	// notest

	var out = flag.String("output", "./package-names.go", "Output filename to write")
	var pkg = flag.String("package", "main", "Package name in generated file")
	var name = flag.String("name", "PackageNames", "Name of the variable to define")
	var filter = flag.String("filter", ".*", "Regex to filter paths (operates on full path including vendor directory)")
	var standard = flag.Bool("standard", false, "Use standard library packages")
	var novendor = flag.Bool("novendor", false, "Exclude packages in vendor directories")
	var goListPath = flag.String("path", "all", "Path to pass to go list command")
	flag.Parse()

	buf := &bytes.Buffer{}
	if err := hints(buf, *pkg, *name, *goListPath, *filter, *standard, *novendor); err != nil {
		log.Fatal(err.Error())
	}
	if err := os.WriteFile(*out, buf.Bytes(), 0644); err != nil {
		log.Fatal(err.Error())
	}
}