From 033041aa0b640a17b14a7165a5d8ca444f2c90c6 Mon Sep 17 00:00:00 2001 From: Scott Sievert Date: Sun, 2 Aug 2020 16:56:23 -0500 Subject: [PATCH] DOC: warn about --force and dirty repos --- doctr/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doctr/__main__.py b/doctr/__main__.py index 8a35510e..8a3fb12c 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -271,7 +271,9 @@ def deploy(args, parser): if not args.force and not on_travis(): parser.error("doctr does not appear to be running on Travis. Use " - "doctr deploy --force to run anyway.") + "doctr deploy --force to run anyway.\n\n" + "WARNING: this will remove any dirty files" + ) config = get_config()