diff scripts/pkg/pkg.m @ 24965:0974a3649c81

pkg.m: alphabetic order of available_actions
author Juan Pablo Carbajal <ajuanpi+dev@gmail.com>
date Thu, 22 Mar 2018 08:12:17 +0100
parents 1db0b81efafe
children 70490bb1f59d
line wrap: on
line diff
--- a/scripts/pkg/pkg.m	Thu Mar 22 08:05:33 2018 +0100
+++ b/scripts/pkg/pkg.m	Thu Mar 22 08:12:17 2018 +0100
@@ -309,10 +309,10 @@
 
   confirm_recursive_rmdir (false, "local");
 
-  available_actions = {"list", "install", "uninstall", "load", ...
-                       "unload", "prefix", "local_list", ...
-                       "global_list", "rebuild", "build", ...
-                       "describe", "update"};
+  # valid actions in alphabetical order
+  available_actions = {"build", "describe", "global_list",  "install", ...
+                       "list", "load", "local_list", "prefix", "rebuild", ...
+                       "uninstall", "unload", "update"};
 
   ## Parse input arguments
   if (isempty (varargin) || ! iscellstr (varargin))