WIP: add some options to example code #161

Draft
redstar wants to merge 2 commits from redstar/server:feature/add_options into v2
First-time contributor

给demo增加了几个参数,方便使用
Usage: main [-h] [-b value] [-p value] [-P ftp server port] [-u value] [parameters ...]
-b, --bind=value bind hostname or ip address [::]
-h, --help display usage
-p, --password=value
ftp password [admin]
-P, --port=ftp server port
ftp server port [2121]
-u, --username=value
ftp username [admin]

给demo增加了几个参数,方便使用 Usage: main [-h] [-b value] [-p value] [-P ftp server port] [-u value] [parameters ...] -b, --bind=value bind hostname or ip address [::] -h, --help display usage -p, --password=value ftp password [admin] -P, --port=ftp server port ftp server port [2121] -u, --username=value ftp username [admin]
redstar added 2 commits 2022-08-13 12:36:16 +00:00
ignore .idea
All checks were successful
continuous-integration/drone/pr Build is passing
143939982f
Some checks are pending
continuous-integration/drone/pr Build is passing
checks / check and test (pull_request)
Required
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feature/add_options:redstar-feature/add_options
git checkout redstar-feature/add_options
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: goftp/server#161
No description provided.