From e61ba0eeec47e15ce3e757657408b257509ea778 Mon Sep 17 00:00:00 2001 From: Jake Scott Date: Sun, 22 Nov 2020 11:57:11 -0800 Subject: added help message --- help | 6 ++++++ rm | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 help diff --git a/help b/help new file mode 100644 index 0000000..0a12e7f --- /dev/null +++ b/help @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Available Commands:" +echo "init : Initialize new Git repository with " +echo "ls: list all repositories" +echo "rm : Delete Git repository with " \ No newline at end of file diff --git a/rm b/rm index 5eda181..1402bae 100755 --- a/rm +++ b/rm @@ -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." -- cgit v1.2.3