[pve-devel] [PATCH access-control 3/3] Change naming to keep command abbreviation

Alwin Antreich a.antreich at proxmox.com
Fri Sep 22 16:32:31 CEST 2017


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
 PVE/CLI/pveum.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/CLI/pveum.pm b/PVE/CLI/pveum.pm
index 7a4930f..d960437 100755
--- a/PVE/CLI/pveum.pm
+++ b/PVE/CLI/pveum.pm
@@ -50,7 +50,7 @@ our $cmddef = {
     useradd => [ 'PVE::API2::User', 'create_user', ['userid'] ],
     usermod => [ 'PVE::API2::User', 'update_user', ['userid'] ],
     userdel => [ 'PVE::API2::User', 'delete_user', ['userid'] ],
-    userlist => [ 'PVE::API2::User', 'index', undef, undef, sub {
+    userlst => [ 'PVE::API2::User', 'index', undef, undef, sub {
 	    my $userlist = shift;
 
 	    exit 0 if (!scalar(@$userlist));
@@ -74,7 +74,7 @@ our $cmddef = {
     groupadd => [ 'PVE::API2::Group', 'create_group', ['groupid'] ],
     groupmod => [ 'PVE::API2::Group', 'update_group', ['groupid'] ],
     groupdel => [ 'PVE::API2::Group', 'delete_group', ['groupid'] ],
-    grouplist => [ 'PVE::API2::Group', 'index', undef, undef, sub {
+    grouplst => [ 'PVE::API2::Group', 'index', undef, undef, sub {
 	    my $grouplist = shift;
 
 	    exit 0 if (!scalar(@$grouplist));
-- 
2.11.0





More information about the pve-devel mailing list