X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FCommands%2Fremote.pm;h=5d04e3a87cc21e73793dfe907c9e359e0f305030;hp=c9e0e622a032f295948a9e978e2311d7c15c5578;hb=184877d47a543e4bf5b08548a380f0d6e1bcc3a8;hpb=eaf20c2f298317719ded08cfda27016adcaa3a4f;ds=sidebyside diff --git a/PVE/APIClient/Commands/remote.pm b/PVE/APIClient/Commands/remote.pm index c9e0e62..5d04e3a 100644 --- a/PVE/APIClient/Commands/remote.pm +++ b/PVE/APIClient/Commands/remote.pm @@ -3,7 +3,7 @@ package PVE::APIClient::Commands::remote; use strict; use warnings; -use PVE::JSONSchema qw(register_standard_option get_standard_option); +use PVE::JSONSchema qw(get_standard_option); use PVE::APIClient::Config; use PVE::CLIHandler; @@ -13,19 +13,6 @@ use PVE::PTY (); use base qw(PVE::CLIHandler); -my $complete_remote_name = sub { - - my $config = PVE::APIClient::Config->new(); - return $config->remote_names; -}; - -register_standard_option('pveclient-remote-name', { - description => "The name of the remote.", - type => 'string', - pattern => qr(\w+), - completion => $complete_remote_name, -}); - sub read_password { return PVE::PTY::read_password("Remote password: ") }