]> git.proxmox.com Git - pve-access-control.git/blobdiff - pveum
add test if user exists
[pve-access-control.git] / pveum
diff --git a/pveum b/pveum
index 1a2f532ac0a7c57e564cff6e52bd3dde90ee91f6..2c468d05cc68f1aa31630739bfbc9dd065aa7761 100755 (executable)
--- a/pveum
+++ b/pveum
@@ -78,12 +78,7 @@ my $cmddef = {
 
 my $cmd = shift;
 
-if ($cmd && $cmd eq 'verifyapi') {
-    PVE::RESTHandler::validate_method_schemas();
-    exit 0;
-}
-
-PVE::CLIHandler::handle_cmd($cmddef, "pveum", $cmd, \@ARGV, $read_password);
+PVE::CLIHandler::handle_cmd($cmddef, "pveum", $cmd, \@ARGV, $read_password, $0);
 
 exit 0;
 
@@ -95,8 +90,10 @@ pveum - PVE User Manager
 
 =head1 SYNOPSIS
 
-    pveum <COMMAND> [OPTIONS]
+=include synopsis
 
 =head1 DESCRIPTION
 
-no description available
+No description available.
+
+=include pve_copyright