Showing Help and Usage
A basic way is saving usage as a function
showUsage() {
echo -e "Usage: please provide an argument"
}
and later in your script, you can run a conditional statement that checks for something, say no arguments are provided, you can show the usage and exit
if [ condition ]
then
showUsage
exit 1
else
# run the code
fi