From 889b64c9af807b2cec1adf7d4f5611d2fc48502d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 12 Mar 2014 23:24:50 +0100 Subject: Add newlines at end of version messages --- sti | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sti b/sti index 82d1a0a..f906d8f 100755 --- a/sti +++ b/sti @@ -151,7 +151,7 @@ function cmd_install () if [[ ! -d "$tool_home" ]]; then git clone $1 "$tool_home" init "$tool_home" \ - && printf "Tool %s v%s succesfully installed" \ + && printf "Tool %s v%s succesfully installed\n" \ "$tool_name" $(tool-version "$tool_name") else echo "Tool ${tool_name} already installed" @@ -181,7 +181,7 @@ function cmd_remove () if [[ -d "$tool_home" ]]; then uninit "$tool_home" rm -rf "$tool_home" \ - && printf "Succesfully removed %s v%s" \ + && printf "Succesfully removed %s v%s\n" \ "$1" $(tool-version "$1") else echo "Tool $1 is not installed" @@ -212,7 +212,7 @@ function cmd_update uninit "$tool_home" cd $tool_home && git pull init "$tool_home" \ - && printf "Updated %s v%s -> v%s" \ + && printf "Updated %s v%s -> v%s\n" \ "$1" "$old_version" $(tool-version "$1") else echo "Tool $1 is not installed" -- cgit v1.2.3-54-g00ecf