aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-02-19 00:33:14 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-02-22 13:03:57 -0500
commit0845a97b3e8e808aafb060924f543bfc01eed171 (patch)
tree950ebe2a59cb150e5085e3037363cda27c26e8c2
parent02a3f5e4cfcdbb512360ab44ff077e7a2e30eb19 (diff)
downloadlibrebootfr-0845a97b3e8e808aafb060924f543bfc01eed171.tar.gz
librebootfr-0845a97b3e8e808aafb060924f543bfc01eed171.zip
Center tool/project output between header/footer
Makes it easier to read when multiple terse actions are performed.
-rwxr-xr-xlibs/project2
-rwxr-xr-xlibs/tool2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/project b/libs/project
index fc7ee232..f90b368e 100755
--- a/libs/project
+++ b/libs/project
@@ -152,7 +152,7 @@ project_action() {
project_action_check "$action" "$project" "$@"
- printf '%s\n' "Project $project $action (with ${arguments:-no argument})"
+ printf '%s\n\n' "Project $project $action (with ${arguments:-no argument})"
if "$action" "$@"; then
printf '\n%s\n' "Project $project $action (with ${arguments:-no argument}) completed"
diff --git a/libs/tool b/libs/tool
index be28129c..f4e8a783 100755
--- a/libs/tool
+++ b/libs/tool
@@ -97,7 +97,7 @@ tool_action() {
return 0
fi
- printf '%s\n' "Tool $tool $action (with ${arguments:-no argument})"
+ printf '%s\n\n' "Tool $tool $action (with ${arguments:-no argument})"
(
set -e