logging.bash: Add dedcat and excat helpers

This commit is contained in:
Andrew Rogers 2023-06-21 23:51:03 -05:00
commit b4e2541e50
3 changed files with 5 additions and 4 deletions

View file

@ -41,7 +41,7 @@ get-incl() {
cc=${CC:-cc}
cxx=${CXX:-cxx}
[ -z "$1" ] && errcat "$usage" && exit 1
[ -z "$1" ] && dedcat "$usage"
case "$1" in
'clang') ;&
@ -72,8 +72,7 @@ while getopts 'cpP' opt; do
sort -u <<<$(get-both)
;;
*)
errcat "$usage"
exit 1
dedcat "$usage"
;;
esac
done