Update flag.go

This commit is contained in:
kuoi 2022-01-15 11:29:09 +00:00 committed by GitHub
parent 7393fbb13e
commit 1e2768086e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ var (
) )
func dna_flag() { func dna_flag() {
flag.StringVar(&file_intput, "i", "input.fas", "input file")
flag.StringVar(&file_output, "o", "a.nex", "output file") flag.StringVar(&file_output, "o", "a.nex", "output file")
flag.Parse() flag.Parse()
file_input = flag.Args() // []string{"foo", "bar"} file_input = flag.Args() // []string{"foo", "bar"}