diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-09-08 00:43:58 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-09-07 12:43:58 -0400 |
| commit | ba5924de0152a3b1687f320dcee89ab64368f24b (patch) | |
| tree | 76442a3eb91ab185f0cfaf4f8c12217a59097dfa /main.go | |
| parent | 14d3b166dcd0e350b82b26b289148f6d558e5351 (diff) | |
| download | gosrv-ba5924de0152a3b1687f320dcee89ab64368f24b.tar.gz gosrv-ba5924de0152a3b1687f320dcee89ab64368f24b.tar.xz | |
Fix typo in the flag definition
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ import ( func main() { fl := flag.NewFlagSet("Simple File Server", flag.ExitOnError) listen := fl.String("l", "0.0.0.0:8001", "Listening address, default 0.0.0.0:8001") - directory := fl.String("d", ".", "Listening address, defaults to current.") + directory := fl.String("d", ".", "Directory to serve, defaults to current. (\".\")") fl.Parse(os.Args[1:]) |
