changeset 129:4aeff9d5275d

The command upgrade-check ist now check-upgrade and aliased to the old spelling also
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 17 Oct 2019 09:13:25 +0200
parents 3dcae0e91769
children 54de2955bfa9
files sbin/fpkg
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/fpkg	Thu Oct 17 09:09:13 2019 +0200
+++ b/sbin/fpkg	Thu Oct 17 09:13:25 2019 +0200
@@ -39,6 +39,7 @@
 
     `pkg upgrade` on the local host and all running visible jails
 
+  check-upgrade
   upgrade-check
 
     `pkg upgrade -n` on the local host and all running visible jails
@@ -47,7 +48,6 @@
     Check packages installed from the LocalBSDPorts repository against
     the repositories `FreeBSD` and `LocalBSDPorts` on the local host
     and all visible jails
-     
 
 ENVIRONMENT:
 
@@ -178,7 +178,7 @@
 }
 
 
-command_upgrade_check() {
+command_check_upgrade() {
     : 'Do a local `pkg upgrade -n` and also for all running jails
 
     '
@@ -280,8 +280,8 @@
     upgrade)
         command_upgrade "$@"
         ;;
-    upgrade-check|upgrade_check)
-        command_upgrade_check "$@"
+    check-upgrade|check_upgrade|upgrade-check|upgrade_check)
+        command_check_upgrade "$@"
         ;;
     check-fast-track|check-fasttrack|check_fast_track|check_fasttrack)
         command_check_fasttrack "$@"