Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/checkupdates.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/checkupdates.sh.in')
-rw-r--r--contrib/checkupdates.sh.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/checkupdates.sh.in b/contrib/checkupdates.sh.in
index 48ceff94..413b78ac 100644
--- a/contrib/checkupdates.sh.in
+++ b/contrib/checkupdates.sh.in
@@ -18,10 +18,17 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+declare -r myname='checkupdates'
+declare -r myver='@PACKAGE_VERSION@'
+
if (( $# > 0 )); then
- echo "checkupdates: Safely print a list of pending updates."
- echo "Use: checkupdates"
- echo "Export the 'CHECKUPDATES_DB' variable to change the path of the temporary database."
+ echo "${myname} (pacman) v${myver}"
+ echo
+ echo "Safely print a list of pending updates"
+ echo
+ echo "Usage: ${myname}"
+ echo
+ echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.'
exit 0
fi