From: Sophie Brun <sophie@kali.org>
Date: Tue, 3 May 2022 14:18:01 +0200
Subject: Add *_help.*.snap to work with argparse in Python 3.10

argparse in Python 3.10 display the help output mentioning "options".
Previously it mentioned "optional arguments". The 4 tests
(test_root_help, test_socket_help, test_ssh_help, test_tls_help) compare the
output and fail because of this difference.
---
 tests/root_help.snap   | 2 +-
 tests/socket_help.snap | 2 +-
 tests/ssh_help.snap    | 2 +-
 tests/tls_help.snap    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/root_help.snap b/tests/root_help.snap
index c8541e8..4c923c3 100644
--- a/tests/root_help.snap
+++ b/tests/root_help.snap
@@ -4,7 +4,7 @@ usage: gvm-test-cli [-h] [-c [CONFIG]]
                     [--gmp-password GMP_PASSWORD] [-V]
                     CONNECTION_TYPE ...
 
-optional arguments:
+options:
   -h, --help            show this help message and exit
   -c [CONFIG], --config [CONFIG]
                         Configuration file path (default: ~/.config/gvm-
diff --git a/tests/socket_help.snap b/tests/socket_help.snap
index 570b7b4..57b69ae 100644
--- a/tests/socket_help.snap
+++ b/tests/socket_help.snap
@@ -1,7 +1,7 @@
 usage: gvm-test-cli socket [-h] [--sockpath [SOCKETPATH] | --socketpath
                            [SOCKETPATH]]
 
-optional arguments:
+options:
   -h, --help            show this help message and exit
   --sockpath [SOCKETPATH]
                         Deprecated, use --socketpath instead
diff --git a/tests/ssh_help.snap b/tests/ssh_help.snap
index ee28ea0..523e1c0 100644
--- a/tests/ssh_help.snap
+++ b/tests/ssh_help.snap
@@ -2,7 +2,7 @@ usage: gvm-test-cli ssh [-h] [--hostname HOSTNAME] [--port PORT]
                         [--ssh-username SSH_USERNAME]
                         [--ssh-password SSH_PASSWORD] [-A]
 
-optional arguments:
+options:
   -h, --help            show this help message and exit
   --hostname HOSTNAME   Hostname or IP address (default: 127.0.0.1)
   --port PORT           SSH port (default: 22)
diff --git a/tests/tls_help.snap b/tests/tls_help.snap
index 920dae0..752c3e1 100644
--- a/tests/tls_help.snap
+++ b/tests/tls_help.snap
@@ -2,7 +2,7 @@ usage: gvm-test-cli tls [-h] [--hostname HOSTNAME] [--port PORT]
                         [--certfile CERTFILE] [--keyfile KEYFILE]
                         [--cafile CAFILE] [--no-credentials]
 
-optional arguments:
+options:
   -h, --help           show this help message and exit
   --hostname HOSTNAME  Hostname or IP address (default: 127.0.0.1)
   --port PORT          GMP/OSP port (default: 9390)
