From dfd0c5352252189f39fefb1083f5a3c4bafb387d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 14:13:51 -0500 Subject: cmd/help, cmd/version: Add explicit returns to main functions --- (limited to 'src/cmd') diff --git a/src/cmd/help.sh b/src/cmd/help.sh index c699c73..ab878a1 100644 --- a/src/cmd/help.sh +++ b/src/cmd/help.sh @@ -38,6 +38,8 @@ cmd_help_main() printf "$(get_msg 'cmd_help_summary_head')\n" print_cmd_summaries + + return 0 } cmd_help_register() diff --git a/src/cmd/version.sh b/src/cmd/version.sh index 9d53ded..27f6eaf 100644 --- a/src/cmd/version.sh +++ b/src/cmd/version.sh @@ -24,6 +24,8 @@ cmd_version_main() printf "$(get_msg 'cmd_version_copyright')\n" \ '2012-2016' 'Patrick "P. J." McDermott' + + return 0 } cmd_version_register() -- cgit v0.9.1