aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/gob
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2017-08-29 13:46:38 +1000
committerRob Pike <r@golang.org>2017-08-29 20:26:24 +0000
commit305fd9179d2199cd1bb64402405857d2f2d02478 (patch)
tree3b5ca1c32681e1780e9277113a15b5bcd63fde77 /src/encoding/gob
parent931c43328a27ef763a6b0bacf9d5d55cd2c1a1b8 (diff)
downloadgo-305fd9179d2199cd1bb64402405857d2f2d02478.tar.xz
flag: document that custom usage functions are free to call os.Exit
Some custom usage functions call it for clarity; others rely on the default behavior, which makes an explicit call redundant. Document that it's safe to be explicit. Fixes #21671. Change-Id: I08e9f47265582821cfd35995dff0c589cd85809d Reviewed-on: https://go-review.googlesource.com/59792 Reviewed-by: Dominik Honnef <dominik@honnef.co> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/gob')
0 files changed, 0 insertions, 0 deletions