mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-19 02:10:34 +01:00
add example to man page and correct test comment
This commit is contained in:
parent
2e115df9e7
commit
12650a0913
2 changed files with 4 additions and 1 deletions
3
doc/fd.1
vendored
3
doc/fd.1
vendored
|
@ -405,5 +405,8 @@ $ fd -e py
|
|||
.TP
|
||||
.RI "Open all search results with vim:"
|
||||
$ fd pattern -X vim
|
||||
.TP
|
||||
.RI "Show ./ prefix in results by specifying search path:"
|
||||
$ fd pattern ./
|
||||
.SH SEE ALSO
|
||||
.BR find (1)
|
||||
|
|
|
@ -1902,7 +1902,7 @@ fn test_error_if_hidden_not_set_and_pattern_starts_with_dot() {
|
|||
te.assert_output(&[".gitignore"], "");
|
||||
}
|
||||
|
||||
/// Show "./" prefix if the --no-strip flag is provided
|
||||
/// Show "./" prefix in results if a search path is provided
|
||||
#[test]
|
||||
fn test_no_strip() {
|
||||
let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES);
|
||||
|
|
Loading…
Reference in a new issue