Implement basic CLI usage help
This commit is contained in:
11
features/cli/usage.feature
Normal file
11
features/cli/usage.feature
Normal file
@@ -0,0 +1,11 @@
|
||||
Feature: CLI usage
|
||||
|
||||
Scenario: prints the usage when unknown option switch is given
|
||||
When I run uhwm with option --unknown-option
|
||||
Then the exit status must be 64
|
||||
And the output must contain exactly the usage
|
||||
|
||||
Scenario: prints the help when -h option is given
|
||||
When I run uhwm with option -h
|
||||
Then the exit status must be 0
|
||||
And the output must contain exactly the usage
|
Reference in New Issue
Block a user