From 2fc2413860ac42373c52e98853e5f569fe238843 Mon Sep 17 00:00:00 2001 From: Jaap Joris Vens Date: Tue, 31 Jan 2023 22:09:56 +0100 Subject: [PATCH] Improve deprecation message --- djhtml/options.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/djhtml/options.py b/djhtml/options.py index f263102..9fee2b1 100644 --- a/djhtml/options.py +++ b/djhtml/options.py @@ -47,7 +47,10 @@ if self.in_place: sys.exit( - "The -i (--in-place) argument has been deprecated as it's now the default. If" - " you have a custom pre-commit entry for DjHTML, remove the -i argument from it" - " and everything will continue to work as before." + """ +You have called DjHTML with the -i or --in-place argument which +has been deprecated as it's now the default. If you have a custom +pre-commit entry for DjHTML, remove the -i argument from it and +everything will continue to work as before. +""" )