diff options
Diffstat (limited to 'export_test.go')
| -rw-r--r-- | export_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/export_test.go b/export_test.go index 8c74635..92c6b54 100644 --- a/export_test.go +++ b/export_test.go @@ -15,7 +15,7 @@ import ( // After calling ResetForTesting, parse errors in flag handling will not // exit the program. func ResetForTesting(usage func()) { - commandLine = &FlagSet{ + CommandLine = &FlagSet{ name: os.Args[0], errorHandling: ContinueOnError, output: ioutil.Discard, @@ -24,6 +24,6 @@ func ResetForTesting(usage func()) { } // CommandLine returns the default FlagSet. -func CommandLine() *FlagSet { - return commandLine +func GetCommandLine() *FlagSet { + return CommandLine } |
