summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help6
-rwxr-xr-xrm2
2 files changed, 7 insertions, 1 deletions
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 <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
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."