From e101bb922e4d2da875b92062af867b7378d8ad5c Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Wed, 2 Apr 2014 10:59:38 -0400 Subject: Compatibility: commandLine -> CommandLine --- export_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'export_test.go') 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 } -- cgit v1.2.3