Skip to content
Snippets Groups Projects
Commit a5ca714b authored by Christian Engwer's avatar Christian Engwer
Browse files

[dunecontrol]

add an option to print the sorted list of modules, including the info
if it is a dependency or a suggestion

[[Imported from SVN: r6860]]
parent 9c82184e
No related branches found
No related tags found
No related merge requests found
......@@ -477,6 +477,7 @@ usage () {
echo " Colon-separated list of commands. Available commands are:"
printf " \`help'\tguess what :-)\n"
printf " \`print'\tprint the list of modules sorted after their dependencies\n"
printf " \`info'\tsame as \`print\', but including whether it is a dependency or suggestion\n"
for i in $COMMANDS; do
printf " \`$i'\t$(eval echo \$${i}_HELP)\n"
done
......@@ -683,6 +684,10 @@ case "$command" in
eval "print_module_list ' ' $MODULES"
echo >&2
;;
info)
create_module_list
echo $SORTEDMODULES_INFO
;;
export)
create_module_list
DUNE_CONTROL_PATH=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment