File 0230-stdlib-shell-help-0-should-not-be-a-public-function.patch of Package erlang

From 96d306787877ec7ce4726ce87600526478a8d5d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 31 Oct 2024 15:59:00 +0100
Subject: [PATCH] stdlib: shell:help/0 should not be a public function

---
 lib/stdlib/src/shell.erl | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/stdlib/src/shell.erl b/lib/stdlib/src/shell.erl
index 8e5b5d1c40..6d30ff3564 100644
--- a/lib/stdlib/src/shell.erl
+++ b/lib/stdlib/src/shell.erl
@@ -1205,9 +1205,7 @@ init_dict([{K,V}|Ds]) ->
     init_dict(Ds);
 init_dict([]) -> true.
 
-
--doc "Print the help for all shell internal commands.".
--spec help() -> true.
+-doc false.
 help() ->
     S = ~"""
          ** shell internal commands **
-- 
2.43.0

openSUSE Build Service is sponsored by