forked from exjam/codechecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix][cmd] Fix empty CodeChecker invocation
CodeChecker will throw the following exception when no subcommand is given for the CodeChecker command: ``` Traceback (most recent call last): File "/cc_bin/CodeChecker.py", line 127, in main args.func(args) AttributeError: 'Namespace' object has no attribute 'func' ``` This patch will fix this problem and print the help message instead of this exception.
- Loading branch information
1 parent
067f0ad
commit 2fad73a
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters