Skip to content

Instantly share code, notes, and snippets.

@daniellockard
Created February 22, 2013 18:07
Show Gist options
  • Save daniellockard/5015402 to your computer and use it in GitHub Desktop.
Save daniellockard/5015402 to your computer and use it in GitHub Desktop.
elif [[ "$COMMAND" = -* ]] ; then
# class and package names cannot begin with a -
echo "Error: No command named \`$COMMAND' was found. Perhaps you meant \`hadoop ${COMMAND#-}'"
exit 1
else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment