mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-28 01:01:09 +08:00
translating by hoppipolla-
This commit is contained in:
parent
bdd28868f3
commit
04f6bb38e7
@ -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.
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user