commit 46a7b93d3759b1a64c8c7ded4d95e819bb5af049
parent a5cd69a3a9473d7bb5275cafa68fba9c40368092
Author: Alexey Yerin <yyp@disroot.org>
Date: Mon, 13 Sep 2021 23:23:01 +0300
cmd/haredoc: set -a when looking up a symbol directly
If a user explicitly looks up an undocumented symbol, they know what it
is and it makes sense to show it.
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/cmd/haredoc/main.ha b/cmd/haredoc/main.ha
@@ -137,6 +137,8 @@ export fn main() void = {
};
free(decls);
decls = new;
+
+ show_undocumented = true;
};
const ctx = context {