github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/utils/man/man_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package man 5 6 import ( 7 "github.com/lmorg/murex/lang/stdio" 8 ) 9 10 // ScanManPages - windows doesn't have man pages so lets just create an empty 11 // function that returns a zero-length array so murex can compile on Windows 12 // but without support for flag auto-detection. 13 func GetManPages(_ string) []string { return []string{} } 14 15 // ParseByPaths - windows doesn't have man pages so lets just create an empty 16 // function that returns a zero-length array so murex can compile on Windows 17 // but without support for flag auto-detection. 18 func ParseByPaths(_ string, _ []string) ([]string, map[string]string) { 19 return []string{}, map[string]string{} 20 } 21 22 // ParseByStdio - windows doesn't have man pages so lets just create an empty 23 // function that returns a zero-length array so murex can compile on Windows 24 // but without support for flag auto-detection. 25 func ParseByStdio(_ stdio.Io) ([]string, map[string]string) { return []string{}, map[string]string{} } 26 27 // ParseDescription - windows doesn't have man pages so lets just create an empty 28 // function that returns a zero-length string so murex can compile on Windows 29 // but without support for flag auto-detection. 30 func ParseSummary(_ []string) string { return "" }