cmd/nixbuild: rename to nix-tool

This commit is contained in:
Ophestra 2025-07-20 01:36:15 +09:00
parent 270298c73d
commit 4965b3c64c
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q
3 changed files with 1 additions and 2 deletions

View File

@ -31,9 +31,8 @@ func main() {
flagVerbose bool flagVerbose bool
flagJSON bool flagJSON bool
) )
c := command.New(os.Stderr, log.Printf, "nixbuild", func(args []string) error { c := command.New(os.Stderr, log.Printf, "nix-tool", func(args []string) error {
log.SetFlags(0) log.SetFlags(0)
log.SetPrefix("nixbuild: ")
var stderr io.Writer var stderr io.Writer
if flagVerbose { if flagVerbose {