translating by hoppipolla-

This commit is contained in:
jiandongzhu 2018-07-02 17:39:37 +08:00
parent bdd28868f3
commit 04f6bb38e7

View File

@ -1,3 +1,4 @@
translating----hoppipolla-
3 Python command-line tools
======
@ -70,7 +71,7 @@ Hello Lacey!
`help` and `version` flags.
Docopt is very particular about how you format the required docstring at the top of your file. The top element in your docstring after the name of your tool must be "Usage," and it should list the ways you expect your command to be called (e.g., by itself, with arguments, etc.). Usage should includeandflags.
Docopt is very particular about how you format the required docstring at the top of your file. The top element in your docstring after the name of your tool must be "Usage," and it should list the ways you expect your command to be called (e.g., by itself, with arguments, etc.). Usage should include **help** and **version** flags.
The second element in your docstring should be "Options," and it should provide more information about the options and arguments you identified in "Usage." The content of your docstring becomes the content of your help text.
```