Parsed returns true if the command-line flags have been parsed.
()
| 1255 | |
| 1256 | // Parsed returns true if the command-line flags have been parsed. |
| 1257 | func Parsed() bool { |
| 1258 | return CommandLine.Parsed() |
| 1259 | } |
| 1260 | |
| 1261 | // CommandLine is the default set of command-line flags, parsed from os.Args. |
| 1262 | var CommandLine = NewFlagSet(os.Args[0], ExitOnError) |