From: Andreas Steffen Date: Sat, 22 May 2010 08:46:15 +0000 (+0200) Subject: added --showattr command to usage() X-Git-Tag: 4.4.1~220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2111dc1b84adf92fa33e7e96e4c429fe17ca773b;p=thirdparty%2Fstrongswan.git added --showattr command to usage() --- diff --git a/src/libhydra/plugins/attr_sql/pool_usage.c b/src/libhydra/plugins/attr_sql/pool_usage.c index 8ffb1b993b..069ee39cc4 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 --start --end [--timeout ]\n\ ipsec pool --replace --start --end [--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 --server|--subnet|--string|--hex \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 [--server|--subnet|--string|--hex ]\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\