diff --git a/push.sh b/push.sh index 354613f..cf4a7f4 100755 --- a/push.sh +++ b/push.sh @@ -25,4 +25,4 @@ MESSAGE="⏳ @eshanized updated the repository 🎉 !!!" # Git Action git add . git commit -m "$MESSAGE" -git push origin "$BRANCH" \ No newline at end of file +# git push origin "$BRANCH" \ No newline at end of file diff --git a/usr/bin/exec-terminal b/usr/bin/exec-terminal index 85f949c..c05767c 100644 --- a/usr/bin/exec-terminal +++ b/usr/bin/exec-terminal @@ -9,3 +9,16 @@ usage() { echo ' -h This help' exit 1 } + +opts='s:h' + +while getopts "${opts}" arg; do + case "${arg}" in + s) EXEC_TERMINAL="$OPTARG" ;; + h | ?) usage 0 ;; + *) + echo "Invalid Argument '${arg}'!" + usage 1 + ;; + esac +done