From 3a35ba64ad9e1fba2c67169633d9b00e4bc45a33 Mon Sep 17 00:00:00 2001 From: jon4hz Date: Thu, 22 Jan 2026 13:13:11 +0100 Subject: [PATCH] fix: consistent flag naming in selfListSessions --- bin/plugin/open/selfListSessions | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/plugin/open/selfListSessions b/bin/plugin/open/selfListSessions index 80945d3..393d378 100755 --- a/bin/plugin/open/selfListSessions +++ b/bin/plugin/open/selfListSessions @@ -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.