aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql/pool_usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/plugins/attr_sql/pool_usage.c')
-rw-r--r--src/libhydra/plugins/attr_sql/pool_usage.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/libhydra/plugins/attr_sql/pool_usage.c b/src/libhydra/plugins/attr_sql/pool_usage.c
index be6b20cf7..b28c8ae15 100644
--- a/src/libhydra/plugins/attr_sql/pool_usage.c
+++ b/src/libhydra/plugins/attr_sql/pool_usage.c
@@ -29,8 +29,11 @@ Usage:\n\
ipsec pool --status\n\
Show a list of installed pools with statistics plus nameserver info.\n\
\n\
- ipsec pool --statusattr\n\
- Show a list of all attributes stored in the database.\n\
+ ipsec pool --statusattr [--hexout]\n\
+ Show a list of all attributes stored in the database with the values\n\
+ converted to the correct format if the type is known by --showattr or\n\
+ in hex format otherwise.\n\
+ hexout: Output all values in hex format\n\
\n\
ipsec pool --showattr\n\
Show a keyword list of the major attribute types.\n\
@@ -56,10 +59,12 @@ Usage:\n\
resized.\n\
timeout: Lease time in hours, 0 for static leases\n\
\n\
- ipsec pool --addattr <type> --server|--subnet|--string|--hex <value>\n\
+ ipsec pool --addattr <type> --addr|--mask|--server|--subnet|--string|--hex <value>\n\
Add a new attribute to the database.\n\
type: a keyword from --showattr or a number from the range 1..32767\n\
- server: IPv4 or IPv6 address of a server\n\
+ addr: IPv4 or IPv6 address\n\
+ mask: IPv4 or IPv6 netmask (synonym for --addr)\n\
+ server: IPv4 or IPv6 address of a server (synonym for --addr)\n\
subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\n\
string: value of a string-type attribute\n\
hex: hex value of any attribute\n\
@@ -68,10 +73,12 @@ Usage:\n\
Delete a pool from the database.\n\
name: Name of the pool to delete\n\
\n\
- ipsec pool --delattr <type> [--server|--subnet|--string|--hex <value>]\n\
+ ipsec pool --delattr <type> [--addr|--mask|--server|--subnet|--string|--hex <value>]\n\
Delete a specific or all attributes of a given type from the database.\n\
type: a keyword from --showattr or a number from the range 1..32767\n\
- server: IPv4 or IPv6 address of a server\n\
+ addr: IPv4 or IPv6 address\n\
+ mask: IPv4 or IPv6 netmask (synonym for --addr)\n\
+ server: IPv4 or IPv6 address of a server (synonym for --addr)\n\
subnet: IPv4 subnet[s] given by network/mask[,network/mask,...]\n\
string: value of a string-type attribute\n\
hex: hex value of any attribute\n\