diff --git a/src/fosslight_source/cli.py b/src/fosslight_source/cli.py index 7e824e1..5251eee 100755 --- a/src/fosslight_source/cli.py +++ b/src/fosslight_source/cli.py @@ -119,7 +119,7 @@ def main() -> None: except Exception as ex: logger.debug(f"Failed to print log.: {ex}") else: - logger.error(f"Input path({path_to_scan}) is not a directory. Please enter a valid path.") + logger.error(f"(-p option) Input path({path_to_scan}) is not a directory. Please enter a valid path.") sys.exit(1) diff --git a/src/fosslight_source/run_scancode.py b/src/fosslight_source/run_scancode.py index 1f03e3d..a3d6904 100755 --- a/src/fosslight_source/run_scancode.py +++ b/src/fosslight_source/run_scancode.py @@ -135,7 +135,7 @@ def run_scan( logger.error(f"Analyze {path_to_scan}: {msg}") else: success = False - msg = "Check the path to scan. :" + path_to_scan + msg = f"(-p option) Check the path to scan: {path_to_scan}" if not return_results: result_list = []