aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-11-24 15:32:16 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-11-28 21:23:59 +0100
commit3e93e28427271bb2c1629b669b0aac8163182d02 (patch)
tree7c28a0a9a3126ac9cb954706f86fdace9279272a
parent0f706ae40ed5229df7729200eee841ab5e9b6265 (diff)
downloadstrongswan-3e93e28427271bb2c1629b669b0aac8163182d02.tar.bz2
strongswan-3e93e28427271bb2c1629b669b0aac8163182d02.tar.xz
update attest_usage to include add and del operations
-rw-r--r--src/libimcv/plugins/imv_attestation/attest_usage.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libimcv/plugins/imv_attestation/attest_usage.c b/src/libimcv/plugins/imv_attestation/attest_usage.c
index 629d93771..99801571c 100644
--- a/src/libimcv/plugins/imv_attestation/attest_usage.c
+++ b/src/libimcv/plugins/imv_attestation/attest_usage.c
@@ -24,7 +24,7 @@ void usage(void)
{
printf("\
Usage:\n\
- ipsec attest --files|--components|--products|--hashes [options]\n\
+ ipsec attest --files|--components|--products|--hashes|--add|--del [options]\n\
\n\
ipsec attest --files [--product <name>|--pid <id>]\n\
Show a list of files with a software product name or\n\
@@ -45,6 +45,12 @@ Usage:\n\
ipsec attest --hashes [--sha1|--sha256|--sha384] [--file <path>|--fid <id>]\n\
Show a list of measurement hashes for a given file or\n\
its primary key as an optional selector.\n\
- \n");
+ \n\
+ ipsec attest --add --file <path>|--dir <path>|--product <name>\n\
+ Add a file, directory or product entry\n\
+ \n\
+ ipsec attest --del --file <path>|--fid <id>|--dir <path>|--did <id>|--product <name>|--pid <id>\n\
+ Delete a file, directory or product entry referenced either by value or by primary key\n\
+ \n");
}