diff --git a/lib/dunemodules.lib b/lib/dunemodules.lib
index 00bd358f7063c0b22c27a700b7c70cbc5aaaeb49..071b172f1103f1f74e2db611ad324612b93904ce 100644
--- a/lib/dunemodules.lib
+++ b/lib/dunemodules.lib
@@ -362,6 +362,11 @@ _check_deps()
 #
 # paramters:
 # $1 name of the modules
+# $2 parser mode:
+#    DEPS: search for dependencies
+#    SUSG: search for suggestions (DEPS of SUGS are handled as SUGS)
+#    MAIN: primary invocation of a DEPS search, 
+#          MAIN modules are not added to the list of DEPS/SUGS
 #
 _sort_module() {
   local module="$1"