diff --git a/snapsh b/snapsh index f760d7a..14a6852 100755 --- a/snapsh +++ b/snapsh @@ -16,4 +16,17 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . +help() { + printf "Usage: + snapsh [OPTIONS] + Options: +Exit codes: + 2 - Invalid arguments" +} + +# If no options are given, display help +if [[ "$#" -eq 0 ]]; then + help + exit 2 +fi