Skip to content
Snippets Groups Projects
Commit 8de851f1 authored by Seblu's avatar Seblu
Browse files

archbuild-dl: Usage on stderr

parent dc25e75f
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,10 @@ arch_regexp="($(uname -m)|any)"
usage() {
echo "usage: ${0##*/} [options] <list|get|install> [pkg_regex]" >&2
echo 'options:'
echo " -h: host address (current: $pkg_host)"
echo " -b: base path (current: $pkg_base)"
echo " -a: arch regex (current: $arch_regexp)"
echo 'options:' >&2
echo " -h: host address (current: $pkg_host)" >&2
echo " -b: base path (current: $pkg_base)" >&2
echo " -a: arch regex (current: $arch_regexp)" >&2
exit 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment