Skip to content

Commit

Permalink
Improve deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapJoris committed Jan 31, 2023
1 parent 6a3a5ad commit 2fc2413
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions djhtml/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
)

0 comments on commit 2fc2413

Please sign in to comment.