Skip to content
Commit 77f5b10a authored by Hannes Eder's avatar Hannes Eder Committed by Linus Torvalds
Browse files

checkpatch: make -f alias --file, add --help, more verbose help message



Impact:
  - More verbose help/usage message.
  - Make the option -f an alias for --file.
  - On -h, --help, and --version display help message and exit(0).
  - With no FILE(s) given, exit(1) with "no input files".
  - On invalid options display help/usage and exit(1).

Based on a patch by Pavel Machek.

Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 30dad6eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment