📃 Fix typo

pull/550/head
Fenny 2020-07-06 17:10:31 +02:00
parent d2577a9643
commit 9b630585c4
2 changed files with 2 additions and 3 deletions

4
app.go
View File

@ -418,9 +418,9 @@ func (app *App) Serve(ln net.Listener, tlsconfig ...*tls.Config) error {
}
// Listener can be used to pass a custom listener
// This method does not support the Prefork feature
// Prefork is not supported using app.Serve(ln net.Listener)
// You can pass an optional *tls.Config to enable TLS.
// This method does not support the Prefork feature
// To use Prefork, please use app.Listen()
func (app *App) Listener(ln net.Listener, tlsconfig ...*tls.Config) error {
// Update fiber server settings
app.init()

View File

@ -126,7 +126,6 @@ func usage() {
if f.Name == flagChild[1:] {
return
}
s := fmt.Sprintf(" -%s", f.Name) // Two spaces before -; see next two comments.
name, usage := flag.UnquoteUsage(f)
if len(name) > 0 {