File 0320-note-that-file-lists-have-to-be-passed-before-recurs.patch of Package erlang

From 17851051e4e03ba907e6f43f39cbc438d9218aab Mon Sep 17 00:00:00 2001
From: Mackenzie Morgan <macoafi@gmail.com>
Date: Thu, 27 Jan 2022 09:31:30 -0500
Subject: [PATCH] note that file lists have to be passed before recursive
 directories

---
 lib/dialyzer/doc/src/typer_cmd.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/dialyzer/doc/src/typer_cmd.xml b/lib/dialyzer/doc/src/typer_cmd.xml
index cfeba9e456..6abe7eaef8 100644
--- a/lib/dialyzer/doc/src/typer_cmd.xml
+++ b/lib/dialyzer/doc/src/typer_cmd.xml
@@ -54,7 +54,7 @@ typer --help</code>
 typer [--help] [--version] [--plt PLT] [--edoc]
       [--show | --show-exported | --annotate | --annotate-inc-files]
       [-Ddefine]* [-I include_dir]* [-pa dir]* [-pz dir]*
-      [-T application]* [-r] file*</code>
+      [-T application]* file* [-r directory*]</code>
 
     <note>
       <p>* denotes that multiple occurrences of the option are possible.</p>
@@ -66,7 +66,7 @@ typer [--help] [--version] [--plt PLT] [--edoc]
 
       <tag><c>-r</c></tag>
       <item>
-        <p>Search directories recursively for .erl files below them.</p>
+        <p>Search directories recursively for .erl files below them. If a list of files is given, this must be after them.</p>
       </item>
       <tag><c>--show</c></tag>
       <item>
-- 
2.34.1

openSUSE Build Service is sponsored by