gendoxylist: make it not "crash" if you try interactively at least
This commit is contained in:
parent
d4d4c798a6
commit
81d1b2cfb6
|
@ -2,6 +2,10 @@
|
||||||
# Karl Palsson <karlp@tweak.net.au> Sept 2017
|
# Karl Palsson <karlp@tweak.net.au> Sept 2017
|
||||||
# Parse .d files for a given target, and generate a doxygen config file
|
# 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.
|
# stub that is to be "@INCLUDE = <xxx>" into a doxygen template file.
|
||||||
|
[ $# -eq 2 ] || {
|
||||||
|
printf "Usage: $0 <libdir> <outputdir>\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
DDIR=$1
|
DDIR=$1
|
||||||
ODIR=$2
|
ODIR=$2
|
||||||
|
|
Loading…
Reference in New Issue