aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/attr_sql
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-05-22 10:46:15 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-05-22 10:46:15 +0200
commit2111dc1b84adf92fa33e7e96e4c429fe17ca773b (patch)
tree10b5775d99e72ea7928356095439be91d7f24747 /src/libhydra/plugins/attr_sql
parent24632bc0e886ec9d431695771c3b49ef7089a6ae (diff)
downloadstrongswan-2111dc1b84adf92fa33e7e96e4c429fe17ca773b.tar.bz2
strongswan-2111dc1b84adf92fa33e7e96e4c429fe17ca773b.tar.xz
added --showattr command to usage()
Diffstat (limited to 'src/libhydra/plugins/attr_sql')
-rw-r--r--src/libhydra/plugins/attr_sql/pool_usage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libhydra/plugins/attr_sql/pool_usage.c b/src/libhydra/plugins/attr_sql/pool_usage.c
index 8ffb1b993..069ee39cc 100644
--- a/src/libhydra/plugins/attr_sql/pool_usage.c
+++ b/src/libhydra/plugins/attr_sql/pool_usage.c
@@ -32,6 +32,9 @@ Usage:\n\
ipsec pool --statusattr\n\
Show a list of all attributes stored in the database.\n\
\n\
+ ipsec pool --showattr\n\
+ Show a keyword list of the major attribute types.\n\
+ \n\
ipsec pool --add <name> --start <start> --end <end> [--timeout <timeout>]\n\
ipsec pool --replace <name> --start <start> --end <end> [--timeout <timeout>]\n\
Add a new pool to or replace an existing pool in the database.\n\
@@ -55,6 +58,7 @@ Usage:\n\
\n\
ipsec pool --addattr <type> --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\
subnet: IPv4 subnet given by network/mask\n\
string: value of a string-type attribute\n\
@@ -66,6 +70,7 @@ Usage:\n\
\n\
ipsec pool --delattr <type> [--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\
subnet: IPv4 subnet given by network/mask\n\
string: value of a string-type attribute\n\