Skip to content

Commit

Permalink
Merge pull request #195 from fosslight/temp
Browse files Browse the repository at this point in the history
Print option name with error msg
  • Loading branch information
dd-jy authored Oct 18, 2024
2 parents 13f2928 + f12b439 commit d88296e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fosslight_source/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion src/fosslight_source/run_scancode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit d88296e

Please sign in to comment.