Files
hakurei/cmd/sharefs/main.go
Ophestra 775a9f57c9 cmd/sharefs: check option parsing behaviour
This change makes it possible to check parseOpts behaviour as part of Go tests.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-12-27 17:33:12 +09:00

17 lines
236 B
Go

package main
import (
"log"
"os"
)
// sharefsName is the prefix used by log.std in the sharefs process.
const sharefsName = "sharefs"
func main() {
log.SetFlags(0)
log.SetPrefix(sharefsName + ": ")
os.Exit(_main(os.Args...))
}