Make --column imply --line-number.

Closes #243
This commit is contained in:
Andrew Gallant
2017-01-11 18:53:35 -05:00
parent c3de1f58ea
commit 7a951f103a
5 changed files with 18 additions and 5 deletions

View File

@@ -583,6 +583,7 @@ impl<'a> ArgMatches<'a> {
false
} else {
self.is_present("line-number")
|| self.is_present("column")
|| atty::on_stdout()
|| self.is_present("pretty")
|| self.is_present("vimgrep")