Skip to content

Commit

Permalink
Add alias for -arch on Linux scripts (dotnet#51816)
Browse files Browse the repository at this point in the history
-a alias supported by build.ps1
  • Loading branch information
kant2002 authored Apr 24, 2021
1 parent 79d8dad commit a123d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
usage()
{
echo "Common settings:"
echo " --arch Target platform: x86, x64, arm, armel, arm64 or wasm."
echo " --arch (-a) Target platform: x86, x64, arm, armel, arm64 or wasm."
echo " [Default: Your machine's architecture.]"
echo " --binaryLog (-bl) Output binary log."
echo " --cross Optional argument to signify cross compilation."
Expand Down Expand Up @@ -199,7 +199,7 @@ while [[ $# > 0 ]]; do
fi
;;

-arch)
-arch|-a)
if [ -z ${2+x} ]; then
echo "No architecture supplied. See help (--help) for supported architectures." 1>&2
exit 1
Expand Down

0 comments on commit a123d28

Please sign in to comment.