diff options
Diffstat (limited to 'src/pkg/flag/export_test.go')
| -rw-r--r-- | src/pkg/flag/export_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pkg/flag/export_test.go b/src/pkg/flag/export_test.go index 7b190807a..56cda58b3 100644 --- a/src/pkg/flag/export_test.go +++ b/src/pkg/flag/export_test.go @@ -12,11 +12,6 @@ import "os" // After calling ResetForTesting, parse errors in flag handling will not // exit the program. func ResetForTesting(usage func()) { - commandLine = NewFlagSet(os.Args[0], ContinueOnError) + CommandLine = NewFlagSet(os.Args[0], ContinueOnError) Usage = usage } - -// CommandLine returns the default FlagSet. -func CommandLine() *FlagSet { - return commandLine -} |
