Skip to content

Commit

Permalink
Add log verbs to listing
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Sep 11, 2024
1 parent 5999241 commit d63a715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fileaxe/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func (fa FileAxe) list(fileList FileInfos) {
if fa.Conf.Ls.Plain {
fmt.Printf("%s\n", fil.Path)
} else {
fa.Lg.Info(fil.Path, fa.logFileInfo(fil))
fa.Lg.Info("list", fa.logFileInfo(fil))
}
}
}
Expand All @@ -22,7 +22,7 @@ func (fa FileAxe) exists(fileList FileInfos) {
success := fa.isInRange(match_no, fa.Conf.Exists.MinNumber, fa.Conf.Exists.MaxNumber)
if match_no > 0 && fa.Conf.Exists.List {
for _, fil := range fileList {
fa.Lg.Info(fil.Path, fa.logFileInfo(fil))
fa.Lg.Info("list", fa.logFileInfo(fil))
}
}
fa.Lg.Info(
Expand Down

0 comments on commit d63a715

Please sign in to comment.