My script needs two arguments. I want to hide the error message if someone calls the script withscript.sh --helpso I tired this:if [ $# -ne 2 ] ; then  if [ $1 -ne --help ]; then    echo ERROR: wrong number of parameters    echo  fi  echo Syntax: $0 foo bar  exit 1fiBut I get the errorscript.sh: line 10: [: --help: integer expression expectedWhat is wrong?
Compare two strings in a shell script
bash;shell;test