Skip to content

Commit 76c2e66

Browse files
aviskarkc10sbimochan
authored andcommitted
Add cleaner way to echo new line (#25)
1 parent f2dea8d commit 76c2e66

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

commit

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
set -euo pipefail
33

44
if [ -z "${1:-}" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
5-
echo "Create a commit prefixed with the current branch name."
6-
echo
5+
echo -e "Create a commit prefixed with the current branch name.\n"
76
echo "Usage:"
8-
echo " commit MESSAGE"
9-
echo
7+
echo -e " commit MESSAGE\n"
108
echo "Example:"
119
echo " commit \"Hello world!\""
1210
exit 1

0 commit comments

Comments
 (0)