#!/bin/bash if [ "$#" = "0" ]; then echo "Type 'trigger help' for help"; fi if [ "$1" = "help" ]; then if [ "$#" = "1" ]; then echo "This is help for script trigger. It allows to control all trigger-related options"; echo "Type trigger help