gendoxylist: make it not "crash" if you try interactively at least

This commit is contained in:
Karl Palsson 2020-11-27 21:08:38 +00:00
parent d4d4c798a6
commit 81d1b2cfb6
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
# Karl Palsson <karlp@tweak.net.au> Sept 2017
# Parse .d files for a given target, and generate a doxygen config file
# stub that is to be "@INCLUDE = <xxx>" into a doxygen template file.
[ $# -eq 2 ] || {
printf "Usage: $0 <libdir> <outputdir>\n"
exit 1
}
DDIR=$1
ODIR=$2