Skip to content

Commit

Permalink
Fix example command
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles Peskine <[email protected]>
  • Loading branch information
gilles-peskine-arm authored and davidhorstmann-arm committed Jan 17, 2023
1 parent 7528986 commit b71d28b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/code_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def main() -> int:
# --files is almost useless: it only matters if there are no files
# ('code_style.py' without arguments checks all files known to Git,
# 'code_style.py --files' does nothing). In particular,
# 'code_style.py --files ...' is intended as a stable ("porcelain") way
# to restyle a possibly empty set of files.
# 'code_style.py --fix --files ...' is intended as a stable ("porcelain")
# way to restyle a possibly empty set of files.
parser.add_argument('--files', action='store_true',
help='only check the specified files (default with non-option arguments)')
parser.add_argument('operands', nargs='*', metavar='FILE',
Expand Down

0 comments on commit b71d28b

Please sign in to comment.