summaryrefslogtreecommitdiff
path: root/libgo/go/flag/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/flag/export_test.go')
-rw-r--r--libgo/go/flag/export_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/flag/export_test.go b/libgo/go/flag/export_test.go
index 12d3dc76dfe..edbe83c6648 100644
--- a/libgo/go/flag/export_test.go
+++ b/libgo/go/flag/export_test.go
@@ -13,5 +13,6 @@ import "os"
// exit the program.
func ResetForTesting(usage func()) {
CommandLine = NewFlagSet(os.Args[0], ContinueOnError)
+ CommandLine.Usage = commandLineUsage
Usage = usage
}