From 3ef16ef8b30f52a8f1ff677faa1730e76835aa40 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Tue, 9 Jul 2024 12:58:46 -0700 Subject: [PATCH] Fix the documentation that erroneously says you can use short versions of help flags Fixes #4564 PiperOrigin-RevId: 650730047 Change-Id: I3a52aca490338066c607e34ab20c827bfde5090d --- docs/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced.md b/docs/advanced.md index 2ecce63f..240588a8 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -1814,7 +1814,7 @@ and/or command line flags. For the flags to work, your programs must call `::testing::InitGoogleTest()` before calling `RUN_ALL_TESTS()`. To see a list of supported flags and their usage, please run your test program -with the `--help` flag. You can also use `-h`, `-?`, or `/?` for short. +with the `--help` flag. If an option is specified both by an environment variable and by a flag, the latter takes precedence.