Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
Fix the usage of example (#71)
Browse files Browse the repository at this point in the history
* Fix the usage of example

* update readme
  • Loading branch information
wzshiming authored and lunny committed Jul 11, 2019
1 parent eabccc5 commit b7acaf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exampleftpd/README.md
Expand Up @@ -8,7 +8,7 @@ Change to this directory then build it with `go build`
$ ./exampleftpd -h
Usage of ./exampleftpd:
-host string
Port (default "localhost")
Host (default "localhost")
-pass string
Password for login (default "123456")
-port int
Expand Down
2 changes: 1 addition & 1 deletion exampleftpd/exampleftpd.go
Expand Up @@ -20,7 +20,7 @@ func main() {
user = flag.String("user", "admin", "Username for login")
pass = flag.String("pass", "123456", "Password for login")
port = flag.Int("port", 2121, "Port")
host = flag.String("host", "localhost", "Port")
host = flag.String("host", "localhost", "Host")
)
flag.Parse()
if *root == "" {
Expand Down

0 comments on commit b7acaf1

Please sign in to comment.