badcmd: link directly to the maintenance manual

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-06-03 08:25:04 +01:00
parent 00653aab1e
commit 49ae4f91f9
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ badcmd()
errmsg="no context given" errmsg="no context given"
[ $# -gt 0 ] && errmsg="$1" [ $# -gt 0 ] && errmsg="$1"
dstr="Check $projectname docs via $projectsite" dstr="See $projectname build system docs: ${projectsite}docs/maintain/"
[ -d "docs" ] && dstr="$dstr (local docs available via docs/)" [ -d "docs" ] && dstr="$dstr (local docs available via docs/)"
$err "Bad command ($errmsg). $dstr" $err "Bad command ($errmsg). $dstr"
} }