allow --rel as an abbreviation for --relative
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 21 Jul 2012 13:58:08 +0000 (15:58 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 21 Jul 2012 13:58:13 +0000 (15:58 +0200)
src/libpts/plugins/imv_attestation/attest.c

index 8ab7a2a..17c39e7 100644 (file)
@@ -136,6 +136,7 @@ static void do_args(int argc, char *argv[])
                        { "owner", required_argument, NULL, 'O' },
                        { "product", required_argument, NULL, 'P' },
                        { "relative", no_argument, NULL, 'R' },
                        { "owner", required_argument, NULL, 'O' },
                        { "product", required_argument, NULL, 'P' },
                        { "relative", no_argument, NULL, 'R' },
+                       { "rel", no_argument, NULL, 'R' },
                        { "sha1", no_argument, NULL, '1' },
                        { "sha256", no_argument, NULL, '2' },
                        { "sha384", no_argument, NULL, '3' },
                        { "sha1", no_argument, NULL, '1' },
                        { "sha256", no_argument, NULL, '2' },
                        { "sha384", no_argument, NULL, '3' },