FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
VulkanTutorial/make_parser.py at main · Overv/VulkanTutorial · GitHub
Overv
/
VulkanTutorial
Public
Notifications
You must be signed in to change notification settings
Fork
568
Star
3.7k
Code
Issues
69
Pull requests
7
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
VulkanTutorial
/
make_parser.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (34 loc) · 982 Bytes
Breadcrumbs
VulkanTutorial
/
make_parser.py
Copy path
File metadata and controls
37 lines (34 loc) · 982 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import
argparse
def
make_parser
()
->
argparse
.
ArgumentParser
:
parser
=
argparse
.
ArgumentParser
(
description
=
"Build the pdf and epub files of the Vulkan Tutorial."
)
parser
.
add_argument
(
"--geometry:left"
,
type
=
str
,
required
=
False
,
default
=
"2.5cm"
,
help
=
"Specify left margin space as a string. Example: 2cm."
,
)
parser
.
add_argument
(
"--geometry:right"
,
type
=
str
,
required
=
False
,
default
=
"2.5cm"
,
help
=
"Specify right margin space as a string. Example: 2cm."
,
)
parser
.
add_argument
(
"--geometry:top"
,
type
=
str
,
required
=
False
,
default
=
"2.5cm"
,
help
=
"Specify top margin space as a string. Example: 2cm."
,
)
parser
.
add_argument
(
"--geometry:bottom"
,
type
=
str
,
required
=
False
,
default
=
"2.5cm"
,
help
=
"Specify bottom margin space as a string. Example: 2cm."
,
)
return
parser
Back
|
FazBrowse Home
|
New Git URL