Skip to content

Commit c2df491

Browse files
committed
Updated Astyle (markdown)
1 parent 6fac961 commit c2df491

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Astyle.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,20 @@ keep-one-line-statements
6969
Python script [astyle.py](https://github.com/stm32duino/Arduino_Core_STM32/blob/main/CI/astyle/astyle.py) is provided to ease use of [AStyle](http://astyle.sourceforge.net/):
7070

7171
```stdout
72-
usage: astyle.py [-h] [-d <code style definition file>]
73-
[-g | -b <branch name>] [-i <ignore file>]
74-
[-p <astyle install path>] [-r <source root path>]
72+
usage: astyle.py [-h] [-d <code style definition file>] [-g | -b <branch name>] [-i <ignore file>] [-p <astyle install path>]
73+
[-r <source root path>]
7574
76-
Launch astyle on source files found at specified root path.
75+
Launch astyle on source files.
7776
78-
optional arguments:
77+
options:
7978
-h, --help show this help message and exit
8079
-d <code style definition file>, --definition <code style definition file>
81-
Code style definition file for Astyle. Default: <repo path>/Arduino_Core_S
82-
TM32/CI/astyle/.astylerc
83-
-g, --gitdiff Use changes files from git default branch. Default:
84-
remotes/origin/main
80+
Code style definition file for Astyle. Default: <repo path>/Arduino_Core_STM32/CI/astyle/.astylerc
81+
-g, --gitdiff Use changes files from git default branch. Default: {git_branch}
8582
-b <branch name>, --branch <branch name>
8683
Use changes files from git specified branch.
8784
-i <ignore file>, --ignore <ignore file>
88-
File containing path to ignore. Default: <repo path>/Arduino_Core_STM32/CI
89-
/astyle/.astyleignore
85+
File containing path to ignore. Default: <repo path>/Arduino_Core_STM32/CI/astyle/.astyleignore
9086
-p <astyle install path>, --path <astyle install path>
9187
Astyle installation path
9288
-r <source root path>, --root <source root path>

0 commit comments

Comments
 (0)