Please check both -le and -ge boundary conditions to print usage. 
Code suggestion: 
if [ $# -le 1 ] || [ $# -ge 3 ]
then
    usage
    exit 1
fi


[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12556 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to