mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-29 03:13:54 -07:00
doc: various updates
* Don't use 'smart typography' when generating man page * Document PATTERN and PATH * Capitalise place-holder names consistently * Add note about PATH overriding glob/ignore rules * Update args.rs for new PATH capitalisation Fixes #725
This commit is contained in:
@@ -371,7 +371,7 @@ impl<'a> ArgMatches<'a> {
|
||||
|
||||
/// Return all file paths that ripgrep should search.
|
||||
fn paths(&self) -> Vec<PathBuf> {
|
||||
let mut paths: Vec<PathBuf> = match self.values_of_os("path") {
|
||||
let mut paths: Vec<PathBuf> = match self.values_of_os("PATH") {
|
||||
None => vec![],
|
||||
Some(vals) => vals.map(|p| Path::new(p).to_path_buf()).collect(),
|
||||
};
|
||||
|
Reference in New Issue
Block a user