From 8215591787612fddb2060ac777c5f147e9d5eec4 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Wed, 9 Feb 2022 16:37:22 -0500 Subject: [PATCH] doc: remind users that versioninfo may include secrets (#43839) Add a warning to the docstring of `InteractiveUtils.versioninfo()` reminding users to remove sensitive information before sharing the output text. --- stdlib/InteractiveUtils/src/InteractiveUtils.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/InteractiveUtils/src/InteractiveUtils.jl b/stdlib/InteractiveUtils/src/InteractiveUtils.jl index 1df8a2ca8f93bb..ea756b3761e455 100644 --- a/stdlib/InteractiveUtils/src/InteractiveUtils.jl +++ b/stdlib/InteractiveUtils/src/InteractiveUtils.jl @@ -85,6 +85,10 @@ controlled with boolean keyword arguments: - `verbose`: print all additional information +!!! warning "Warning" + The output of this function may contain sensitive information. Before sharing the output, + please review the output and remove any data that should not be shared publicly. + See also: [`VERSION`](@ref). """ function versioninfo(io::IO=stdout; verbose::Bool=false)