From d449cedd3a9e261e68eb3cd0e4810786b01ab39e Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 12 Jan 2023 15:45:32 +0100 Subject: [PATCH] Fix example command Signed-off-by: Gilles Peskine --- scripts/code_style.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/code_style.py b/scripts/code_style.py index 23bb21b3a..a0f35c7c2 100755 --- a/scripts/code_style.py +++ b/scripts/code_style.py @@ -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',