fix: consistent flag naming in selfListSessions

pull/592/head
jon4hz 5 months ago committed by Stéphane Lesimple
parent daeb10ac9d
commit 3a35ba64ad
No known key found for this signature in database
GPG Key ID: 4B4A3289E9D35658

@ -26,9 +26,9 @@ my $remainingOptions = OVH::Bastion::Plugin::begin(
"via-port=i" => \my $viaPort,
"to-port=i" => \my $toPort,
"limit=i" => \my $limit,
"proxyuser=s" => \my $proxyUser,
"proxyip=s" => \my $proxyIp,
"proxyport=i" => \my $proxyPort,
"proxy-user=s" => \my $proxyUser,
"proxy-ip=s" => \my $proxyIp,
"proxy-port=i" => \my $proxyPort,
},
helptext => <<'EOF',
List the few past sessions of your account
@ -50,9 +50,9 @@ Usage: --osh SCRIPT_NAME [OPTIONS]
--user USER Only sessions connecting using remote USER
--via HOST Only sessions that connected through bastion IP HOST
--via-port PORT Only sessions that connected through bastion PORT
--proxyuser USER Only sessions that used proxy USER
--proxyip HOST Only sessions that used proxy IP
--proxyport PORT Only sessions that used proxy PORT
--proxy-user USER Only sessions that used proxy USER
--proxy-ip HOST Only sessions that used proxy IP
--proxy-port PORT Only sessions that used proxy PORT
Note that only the sessions that happened on this precise bastion instance will be shown,
not the sessions from its possible cluster siblings.

Loading…
Cancel
Save