Suggest --overwrite option when dest file exists

This commit is contained in:
Marcin Kulik
2020-05-31 12:42:42 +02:00
parent c94e898ec1
commit 46946e7506

View File

@@ -56,6 +56,7 @@ class RecordCommand(Command):
elif os.stat(self.filename).st_size > 0 and not append:
self.print_error("%s already exists, aborting" % self.filename)
self.print_error("use --overwrite option if you want to overwrite existing recording")
self.print_error("use --append option if you want to append to existing recording")
return 1