adjust help message

Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
This commit is contained in:
Pengyu Lv 2023-02-10 11:06:36 +08:00
parent a4e1eece3d
commit b10cf0dd39

View file

@ -184,9 +184,10 @@ def main() -> int:
'(default: print diff, do not modify files)'))
parser.add_argument('--subset', action='store_true',
help=('check a subset of the files known to git '
'(default: empty FILE means full set)'))
'(default: check all files passed as arguments, '
'known to git or not)'))
parser.add_argument('operands', nargs='*', metavar='FILE',
help='files to check')
help='files to check (if none: check files that are known to git)')
args = parser.parse_args()