diff --git a/cmd/cat/cat.go b/cmd/cat/cat.go index 58b8f5c92..63ff202e4 100644 --- a/cmd/cat/cat.go +++ b/cmd/cat/cat.go @@ -9,8 +9,8 @@ import ( "os" "syscall" - "github.com/platinasystems/goes/lang" "github.com/platinasystems/goes/internal/url" + "github.com/platinasystems/goes/lang" ) type Command struct{} @@ -22,11 +22,6 @@ func (Command) Usage() string { } func (Command) Man() lang.Alt { - return lang.Alt{ - lang.EnUS: "print concatenated files", - } -} -func (Command) Apropos() lang.Alt { return lang.Alt{ lang.EnUS: ` DESCRIPTION @@ -42,6 +37,11 @@ EXAMPLES Copy standard input to standard output.`, } } +func (Command) Apropos() lang.Alt { + return lang.Alt{ + lang.EnUS: "print concatenated files", + } +} func (Command) Main(args ...string) error { if len(args) == 0 { diff --git a/cmd/mac_ll/mac_ll.go b/cmd/mac_ll/mac_ll.go index 1c14b53f5..1110582be 100644 --- a/cmd/mac_ll/mac_ll.go +++ b/cmd/mac_ll/mac_ll.go @@ -17,16 +17,9 @@ func New() Command { return Command{} } type Command struct{} func (Command) Man() lang.Alt { - return lang.Alt{ - lang.EnUS: "convert mac addresss to IPv6 link-local", - } -} -func (Command) String() string { return "mac-ll" } -func (Command) Usage() string { return "mac-ll " } -func (Command) Apropos() lang.Alt { return lang.Alt{ lang.EnUS: ` -DESCRIPTION +DESCRIPTION Convert a 6 byte MAC address to an IPv6 link-local. Without any args, show the base MAC address plus link-local. @@ -34,6 +27,13 @@ DESCRIPTION Convert the MAC address isIPv6 link-local.`, } } +func (Command) String() string { return "mac-ll" } +func (Command) Usage() string { return "mac-ll " } +func (Command) Apropos() lang.Alt { + return lang.Alt{ + lang.EnUS: "convert mac addresss to IPv6 link-local", + } +} func (Command) Main(args ...string) error { var (