Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mark: deprecate a couple undocumented -k syntaxes
The `-k '-expr'` syntax is an old alias to `-k 'not expr'`. It's also not a very convenient to have syntax that start with `-` on the CLI. Deprecate it and suggest replacing with `not`. --- The `-k 'expr:'` syntax discards all items until the first match and keeps all subsequent, e.g. `-k foo` with test_bar test_foo test_baz results in `test_foo`, `test_baz`. That's a bit weird, so deprecate it without a replacement. If someone complains we can reconsider or devise a better alternative.
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'`` | ||
instead. | ||
|
||
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue | ||
if you use this and want a replacement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters