Skip to content
Snippets Groups Projects
Commit 9557da45 authored by Leah Rowe's avatar Leah Rowe Committed by Gogs
Browse files

Merge branch 'master' of GNUtoo/lbmk into master

parents 89aac539 3b80a42a
Branches
Tags
No related merge requests found
......@@ -49,10 +49,14 @@ usage()
"Prints this help"
}
if [ $# -eq 1 -a "$1" == "--help" ] ; then
# In this script, set -u is used to check for undefined variables, and
# the test command doesn't do any lazy evaluation, so we can't use
# a syntax like that: [ $# -eq 1 -a "$1" == "--help" ].
if [ $# -eq 1 ] && [ "$1" == "--help" ] ; then
usage
exit 0
elif [ $# -eq 1 -a "$1" == "--list-boards" ] ; then
elif [ $# -eq 1 ] && [ "$1" == "--list-boards" ] ; then
list_supported_boards
exit 0
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment