Skip to content

Commit 17edbf0

Browse files
Update pygbag.md
What I Fixed Based on the tldr style guide PR tldr-pages#18491 that standardized argument order, I made these corrections: Rule: Positional arguments (like {{path/to/project_folder}}) must come BEFORE option flags and options with arguments.
1 parent 33cb69e commit 17edbf0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pages/common/pygbag.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313

1414
- Package and build without starting the test server:
1515

16-
`pygbag --build {{path/to/project_folder}}`
16+
`pygbag {{path/to/project_folder}} --build`
1717

1818
- Package with a specific template:
1919

20-
`pygbag --template {{template_name.tmpl}} {{path/to/project_folder}}`
20+
`pygbag {{path/to/project_folder}} --template {{template_name.tmpl}}`
2121

2222
- Package and create a ZIP archive for itch.io:
2323

24-
`pygbag --archive {{path/to/project_folder}}`
24+
`pygbag {{path/to/project_folder}} --archive`
2525

2626
- Package with optimization turned off:
2727

28-
`pygbag --no_opt {{path/to/project_folder}}`
28+
`pygbag {{path/to/project_folder}} --no_opt`
2929

3030
- Specify a custom port for the test server:
3131

32-
`pygbag --port {{8080}} {{path/to/project_folder}}`
32+
`pygbag {{path/to/project_folder}} --port {{8080}}`
3333

3434
- Display help information:
3535

36-
`pygbag {{[-h|--help]}}`
36+
`pygbag --help`

0 commit comments

Comments
 (0)