mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 01:58:29 +02: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