From 7bd0553ace2640c852e529f29629540620388f64 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 17 May 2019 12:06:26 -0700 Subject: [PATCH] Address review comments. --- command/fileserver/fileserver.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/command/fileserver/fileserver.go b/command/fileserver/fileserver.go index 1a6b3e426..e7083af67 100644 --- a/command/fileserver/fileserver.go +++ b/command/fileserver/fileserver.go @@ -20,8 +20,8 @@ func init() { Hidden: true, Action: command.ActionFunc(fileServerAction), Usage: "start an HTTP(S) server serving the contents of a path", - UsageText: `step fileserver - [--address=
] [--cert=] [--key=`, + UsageText: `step fileserver + [--address=
] [--cert=] [--key=]`, Description: `**step fileserver** command starts an HTTP(S) server serving the contents of a file system. @@ -29,7 +29,7 @@ This command is experimental and only intended for test purposes. ## POSITIONAL ARGUMENTS - + : The directory used as root for the HTTP file server. ## EXAMPLES @@ -76,7 +76,7 @@ func fileServerAction(ctx *cli.Context) error { return errs.FileError(err, root) } if !f.Mode().IsDir() { - return errors.New("positional argument must be a directory") + return errors.New("positional argument must be a directory") } address := ctx.String("address")