put comment back
This commit is contained in:
parent
6859799559
commit
38c51f4cab
2
parse.go
2
parse.go
|
@ -64,7 +64,7 @@ func Parse(dest ...interface{}) error {
|
||||||
|
|
||||||
// flags gets all command line arguments other than the first (program name)
|
// flags gets all command line arguments other than the first (program name)
|
||||||
func flags() []string {
|
func flags() []string {
|
||||||
if len(os.Args) == 0 {
|
if len(os.Args) == 0 { // os.Args could be empty
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return os.Args[1:]
|
return os.Args[1:]
|
||||||
|
|
Loading…
Reference in New Issue