Skip to content

Commit 6504dd1

Browse files
authored
Update cli.py
1 parent b264388 commit 6504dd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/fosslight_source/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def main() -> None:
7171
parser.add_argument('-e', '--exclude', nargs='*', required=False, default=[])
7272
parser.add_argument('--no_correction', action='store_true', required=False)
7373
parser.add_argument('--correct_fpath', nargs=1, type=str, required=False)
74+
parser.add_argument('--test_review', nargs=1, type=str, required=False)
75+
parser.add_argument('--correct_fpath', nargs=1, type=str, required=False)
7476

7577
args = parser.parse_args()
7678

@@ -80,6 +82,8 @@ def main() -> None:
8082
print_version(PKG_NAME)
8183
if not args.path:
8284
path_to_scan = os.getcwd()
85+
elif args.test_review:
86+
print("ERROR !!")
8387
else:
8488
path_to_scan = ''.join(args.path)
8589
if args.exclude:

0 commit comments

Comments
 (0)