diff options
author | Jake Scott <scottj@sou.edu> | 2020-11-22 11:57:11 -0800 |
---|---|---|
committer | Jake Scott <scottj@sou.edu> | 2020-11-22 11:57:11 -0800 |
commit | e61ba0eeec47e15ce3e757657408b257509ea778 (patch) | |
tree | c8ac8440ef7dcd099ac50be91a5adf9772c6d30f | |
parent | d0de57c5f5cebd4d4b3b3901964b65dcf0f6af6a (diff) |
added help message
-rw-r--r-- | help | 6 | ||||
-rwxr-xr-x | rm | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Available Commands:" +echo "init <name>: Initialize new Git repository with <name>" +echo "ls: list all repositories" +echo "rm <name>: Delete Git repository with <name>"
\ No newline at end of file @@ -21,7 +21,7 @@ if [ -d "$target" ]; then read -r confirm if [ "${confirm,,}" = "y" ]; then rm -rf "${base_dir:?}/${target:?}" \ - && echo "Deleted Git repository: ${target}" + && echo "Deleted Git repository ${target}" fi else echo "$target does not exist." |