1
0
mirror of https://github.com/golang/go synced 2024-11-26 01:07:57 -07:00
go/src/flag
Darren 00cb41e14d flag: handle nil os.Args when setting CommandLine at package level
Fixes #68340

Change-Id: I65037be6961e9ec720537713cb3f23ab9f5f8459
GitHub-Last-Rev: fadcb299c3
GitHub-Pull-Request: golang/go#68341
Reviewed-on: https://go-review.googlesource.com/c/go/+/597075
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Rob Pike <r@golang.org>
2024-07-22 20:58:27 +00:00
..
example_flagset_test.go flag: add FlagSet example 2024-07-15 21:12:53 +00:00
example_func_test.go
example_test.go
example_textvar_test.go
example_value_test.go
export_test.go
flag_test.go flag: replace sort.Slice with slices.SortFunc 2024-05-07 18:38:24 +00:00
flag.go flag: handle nil os.Args when setting CommandLine at package level 2024-07-22 20:58:27 +00:00