diff options
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ import ( ) // Complete default command line flag set defined by the standard library. -func CommandLine(name string) { - Complete(name, FlagSet(flag.CommandLine)) +func CommandLine() { + Complete(flag.CommandLine.Name(), FlagSet(flag.CommandLine)) } // FlagSet returns a completer for a given standard library `flag.FlagSet`. It completes flag names, |
