1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 02:41:10 +01:00
thefuck/tests
Joseph Frazier 0c84eefa55 Don't suggest man 2/3 foo if no man pages exist
Suggest `foo --help` instead. However, if there are man pages, suggest
`foo --help` after `man 2/3 foo`

This addresses the comment in the previous commit message:

> However, in cases where multiple sections have man pages for `foo`,
> running `man foo` could bring up the "wrong" section of man pages.
> `man read` is an example of this, but that should probably be handled in
> a way that still suggests `foo --help` first when there are *no* man
> pages for `foo` in any section.
2016-10-03 14:10:42 -04:00
..
functional #N/A: Ensure that thefuck successfully installed in functional tests 2016-08-13 14:50:21 +03:00
rules Don't suggest man 2/3 foo if no man pages exist 2016-10-03 14:10:42 -04:00
shells #495: Alter history only when configured to do so 2016-04-30 18:39:08 -03:00
specific #N/A: Add npm_missing_script rule 2016-08-13 18:28:45 +03:00
__init__.py Fix tests with python 2 2015-04-25 03:13:57 +02:00
conftest.py #N/A: Monkeypatch pathlib on windows 2016-08-14 15:15:03 +03:00
test_conf.py #540: Fix code style, add test 2016-08-22 05:45:27 +03:00
test_corrector.py #N/A: Monkeypatch pathlib on windows 2016-08-14 15:15:03 +03:00
test_logs.py Fix some more warnings from flake8 2015-11-15 18:08:59 +01:00
test_readme.py Minor refactoring 2015-09-08 15:24:49 +03:00
test_types.py #N/A: Monkeypatch pathlib on windows 2016-08-14 15:15:03 +03:00
test_ui.py ui: accept 'q' as quit character 2016-06-25 12:31:08 +02:00
test_utils.py #N/A: Remove old-style rules support 2016-08-14 14:37:32 +03:00
utils.py #N/A: Move all consts to const 2016-02-22 18:40:28 +03:00