From c678d6c6bf70d47b4aa5bc3576a3a769775bc162 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 6 Oct 2020 12:57:41 -0700 Subject: Export of internal Abseil changes -- 9b45aa0bd58cd9e8478abffafa792e1e53feed08 by Abseil Team : Document that command line flag help for a flag will include the default value. Cleaned up the doc for undefok. PiperOrigin-RevId: 335701801 GitOrigin-RevId: 9b45aa0bd58cd9e8478abffafa792e1e53feed08 Change-Id: I435e240bd10bf6a232a95f220cab83c41701ecb6 --- absl/flags/internal/usage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/absl/flags/internal/usage.h b/absl/flags/internal/usage.h index 0c62dc4b..619ccceb 100644 --- a/absl/flags/internal/usage.h +++ b/absl/flags/internal/usage.h @@ -36,7 +36,8 @@ enum class HelpFormat { kHumanReadable, }; -// Outputs the help message describing specific flag. +// Streams the help message describing `flag` to `out`. +// The default value for `flag` is included in the output. void FlagHelp(std::ostream& out, const CommandLineFlag& flag, HelpFormat format = HelpFormat::kHumanReadable); -- cgit v1.2.3