The current output is not very explanatory: $ ptxdist package-info ptxdist: error: please use 'ptxdist' instead of calling make directly. make: *** [.../ptxdist/rules/other/Toplevel.make:55: all] Error 1
Signed-off-by: Roland Hieber <r...@pengutronix.de> --- bin/ptxdist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/ptxdist b/bin/ptxdist index 75e503fe4767..01b8713727ce 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1887,6 +1887,11 @@ EOF package-info) declare -a pkgs + if [ ${#} -eq 0 ]; then + echo "Usage: package-info <packages...>" + exit 1 + fi + check_config && check_deps && pkgs=( "${@/#/${STATEDIR}/}" ) && -- 2.29.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-requ...@pengutronix.de