summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd.sh b/src/cmd.sh
index dbf28ba..71c6180 100644
--- a/src/cmd.sh
+++ b/src/cmd.sh
@@ -58,6 +58,8 @@ print_opt_summaries()
printf '%s\n' "${summary}" | fold -s -w 56 | \
sed "2,\$s/^/${padding}/;"
done
+
+ return 0
}
print_cmd_summaries()
@@ -80,6 +82,8 @@ print_cmd_summaries()
printf '%s\n' "${summary}" | fold -s -w 56 | \
sed "2,\$s/^/${padding}/;"
done
+
+ return 0
}
print_cmd_usage()
@@ -93,6 +97,7 @@ print_cmd_usage()
usage="$(get_msg "cmd_${cmd_clean}_usage")"
printf "$(get_msg 'cmd_usage')\n" "${0}" "${cmd}" "${usage}"
+ return 0
}
is_cmd()
@@ -116,4 +121,6 @@ run_cmd()
else
error 1 "$(get_msg 'cmd_not_found')" "${cmd}"
fi
+
+ return 0
}