summaryrefslogtreecommitdiff
path: root/src/tls_test.gaa
blob: c1d0664a690fbe30a0cc0f94d1481b24247aaf35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
helpnode "GNU TLS debug client\nUsage: gnutls-cli-debug [options] hostname\n\n"

#int pp;
option (p, port) INT "integer" { $pp = $1 } "The port to connect to."

#int more_info;
option (v, verbose) { $more_info = 1 } "More verbose output"

option (h, help) { gaa_help(); exit(0); } "prints this help"


#int nrest_args;
#char **rest_args;
rest *STR "hostname" { $rest_args = $1; $nrest_args = @1 }

init { $rest_args=NULL; $nrest_args=0; $pp = 443; $more_info = 0; }