last and sort should pipe to stdout
This commit is contained in:
parent
59b0c173aa
commit
b5075786c6
3 changed files with 6 additions and 1 deletions
|
|
@ -116,6 +116,7 @@ func Sort(args []string) {
|
|||
if opts.Write.Val {
|
||||
Write(opts.Key.Val, out)
|
||||
} else {
|
||||
// to stdout
|
||||
fmt.Print(out)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue