aboutsummaryrefslogtreecommitdiff
path: root/export_test.go
diff options
context:
space:
mode:
authorAlec Thomas <[email protected]>2014-04-02 10:59:38 -0400
committerAlec Thomas <[email protected]>2014-04-02 10:59:38 -0400
commite101bb922e4d2da875b92062af867b7378d8ad5c (patch)
tree77bfbf13bfe053cc4a9bc44312dc448646e6c05b /export_test.go
parentf235ad33d48a41975db57c0b52cec7b70529db0d (diff)
Compatibility: commandLine -> CommandLine
Diffstat (limited to 'export_test.go')
-rw-r--r--export_test.go6
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
}