initrd/tools/cpiocat/main.go

20 lines
243 B
Go
Raw Normal View History

2022-02-04 18:59:42 +00:00
package main
import (
"flag"
2024-01-20 15:41:54 +00:00
"fmt"
2022-02-04 18:59:42 +00:00
"os"
2022-04-04 08:29:28 +00:00
"novit.tech/direktil/pkg/cpiocat"
2022-02-04 18:59:42 +00:00
)
func main() {
flag.Parse()
err := cpiocat.Append(os.Stdout, os.Stdin, flag.Args())
if err != nil {
2024-01-20 15:41:54 +00:00
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
2022-02-04 18:59:42 +00:00
}