diff options
Diffstat (limited to 'libgo/go/flag/export_test.go')
-rw-r--r-- | libgo/go/flag/export_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/go/flag/export_test.go b/libgo/go/flag/export_test.go index 56cda58b36..edbe83c664 100644 --- a/libgo/go/flag/export_test.go +++ b/libgo/go/flag/export_test.go @@ -1,4 +1,4 @@ -// Copyright 2010 The Go Authors. All rights reserved. +// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -13,5 +13,6 @@ import "os" // exit the program. func ResetForTesting(usage func()) { CommandLine = NewFlagSet(os.Args[0], ContinueOnError) + CommandLine.Usage = commandLineUsage Usage = usage } |