Merge pull request #52 from oSoMoN/long-options

Handle long option names for the supported output styles…
This commit is contained in:
Sylvestre Ledru
2024-04-23 18:44:47 +02:00
committed by GitHub
2 changed files with 300 additions and 70 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ fn unknown_param() -> Result<(), Box<dyn std::error::Error>> {
cmd.assert()
.code(predicate::eq(2))
.failure()
.stderr(predicate::str::starts_with("Usage: "));
.stderr(predicate::str::starts_with("Unknown option: \"--foobar\""));
Ok(())
}