]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/CLI/pveum.pm
fix another typo
[pve-access-control.git] / PVE / CLI / pveum.pm
index 4b4e2ab8cbddc04e041b786b7dfb94b0c04c0c0c..aef70899551c476c84d27a6274adc92cb8aad9b1 100755 (executable)
@@ -21,6 +21,10 @@ use PVE::CLIHandler;
 
 use base qw(PVE::CLIHandler);
 
+sub setup_environment {
+    PVE::RPCEnvironment->setup_default_cli_env();
+}
+
 sub read_password {
     # return $ENV{PVE_PW_TICKET} if defined($ENV{PVE_PW_TICKET});
 
@@ -59,19 +63,3 @@ our $cmddef = {
 };
 
 1;
-
-__END__
-
-=head1 NAME
-
-pveum - PVE User Manager
-
-=head1 DESCRIPTION
-
-Tools to manage PVE users, groups, roles and permissions. Modifying roles and permissions is complex and usually easier to handle using the GUI. So the command line interface is mainly provided for scripting purposes. 
-
-=head1 SYNOPSIS
-
-=include synopsis
-
-=include pve_copyright