From ef531308d5dbf023274d6158d87bb0b53fd97f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20SO=C3=8BTE?= Date: Mon, 23 Nov 2020 11:28:15 +0000 Subject: [PATCH] enh: doc: add from parameter as it is mandatory --- bin/plugin/restricted/realmCreate | 2 +- doc/sphinx/plugins/restricted/realmCreate.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/plugin/restricted/realmCreate b/bin/plugin/restricted/realmCreate index 40cf829..f1b58ad 100755 --- a/bin/plugin/restricted/realmCreate +++ b/bin/plugin/restricted/realmCreate @@ -20,7 +20,7 @@ my $remainingOptions = OVH::Bastion::Plugin::begin( helptext => <<'EOF', Declare and create a new trusted realm -Usage: --osh SCRIPT_NAME --realm REALM [OPTIONS] +Usage: --osh SCRIPT_NAME --realm REALM --from IP1,IP2 [OPTIONS] --realm REALM Realm name to create --comment STRING An optional comment when creating the realm. Double-quote if you're under a shell. diff --git a/doc/sphinx/plugins/restricted/realmCreate.rst b/doc/sphinx/plugins/restricted/realmCreate.rst index 79dcd6a..e116f9a 100644 --- a/doc/sphinx/plugins/restricted/realmCreate.rst +++ b/doc/sphinx/plugins/restricted/realmCreate.rst @@ -9,7 +9,7 @@ Declare and create a new trusted realm .. admonition:: usage :class: cmdusage - --osh realmCreate --realm REALM [OPTIONS] + --osh realmCreate --realm REALM --from IP1,IP2 [OPTIONS] .. program:: realmCreate