aboutsummaryrefslogtreecommitdiff
path: root/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'export_test.go')
-rw-r--r--export_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/export_test.go b/export_test.go
index 8c74635..9318fee 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,
@@ -23,7 +23,7 @@ func ResetForTesting(usage func()) {
Usage = usage
}
-// CommandLine returns the default FlagSet.
-func CommandLine() *FlagSet {
- return commandLine
+// GetCommandLine returns the default FlagSet.
+func GetCommandLine() *FlagSet {
+ return CommandLine
}