Fixed from cat to Cat function.

This commit is contained in:
k1574 2022-03-26 23:48:51 +05:00
parent d3a7d7a0a8
commit c7e44cfabb

View file

@ -51,7 +51,7 @@ func Run(args []string) int {
args = flagSet.Args() args = flagSet.Args()
if len(args)>0 { if len(args)>0 {
for _, p := range args { for _, p := range args {
e := cat(p) e := Cat(p)
if e != nil { if e != nil {
fmt.Fprintf(os.Stderr, "%s: %s.\n", arg0, e) fmt.Fprintf(os.Stderr, "%s: %s.\n", arg0, e)
status = 1 status = 1