1 Feature: Show help and version for dnscrypt-proxy
3 Display the help when the -h switch is given.
5 Scenario: start with the -h switch.
7 When I run `dnscrypt-proxy -h`
8 Then the output should contain:
12 And the exit status should be 0
14 Scenario: start with the --help switch
16 When I run `dnscrypt-proxy --help`
17 Then the output should contain:
21 And the exit status should be 0
23 Scenario: start with a nonexistent switch
25 When I run `dnscrypt-proxy -%`
26 Then the output should contain:
30 And the exit status should be 1
32 Scenario: start the -V switch
34 When I run `dnscrypt-proxy -V`
35 Then the output should contain:
39 And the output should not contain:
43 And the exit status should be 0