forked from security/hakurei
This change makes it possible to check parseOpts behaviour as part of Go tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
17 lines
236 B
Go
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...))
|
|
}
|