mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
chore: deprecates line numbers in search
Removes line numbers from search result output as part of the refactoring effort.
This commit is contained in:
@@ -78,7 +78,7 @@ func cmdSearch(opts map[string]interface{}, conf config.Config) {
|
||||
if len(matches) > 0 {
|
||||
fmt.Printf("%s:\n", sheet.Title)
|
||||
for _, m := range matches {
|
||||
fmt.Printf(" %d: %s\n", m.Line, m.Text)
|
||||
fmt.Printf(" %s\n", m.Text)
|
||||
}
|
||||
fmt.Print("\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user