diff --git a/src/nancy/cli/record.py b/src/nancy/cli/record.py index 3116ca0..475adda 100644 --- a/src/nancy/cli/record.py +++ b/src/nancy/cli/record.py @@ -49,14 +49,15 @@ def record( if show_diff: print_diff(fsdiff, show_hashes=show_hashes, use_color=use_color) - logger.info("Recording with message: {}", message) - - if skip_confirm or confirm(f"Record to {s.db_path}?"): + if skip_confirm or confirm( + f'Record to "{s.db_path}" with message "{message}"?' + ): # descend the diff, tracking parent filedir IDs, creating them and # recording new versions of each, when necessary + logger.info("Recording with message: {}", message) fsdiff.persist(cur=cur, source_task=task) else: - logger.info("Cancelled!") + logger.warning("Cancelled!") sys.exit(1)