[Piuparts-commits] [piuparts] 03/07: Rewrite `--keep-tmpdir` doc

Holger Levsen holger at layer-acht.org
Tue Mar 27 14:44:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 13f4a63a41fd13a5adf1172b285476bafeff6f01
Author: Agustin Henze <tin at aayy.com.ar>
Date:   Thu Mar 22 09:11:28 2018 -0300

    Rewrite `--keep-tmpdir` doc
    
    Signed-off-by: Agustin Henze <tin at aayy.com.ar>
---
 piuparts.1.txt | 5 ++++-
 piuparts.py    | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/piuparts.1.txt b/piuparts.1.txt
index 6fe4e58..ba2a9ce 100644
--- a/piuparts.1.txt
+++ b/piuparts.1.txt
@@ -144,7 +144,10 @@ The tarball can be created with the '-s' option, or you can use one that *pbuild
   Remove package after installation and reinstall. For testing installation in config-files-remaining state.
 
 *-k*, *--keep-tmpdir*::
-  Don't remove the temporary directory for the chroot when the program ends.
+  Depending on which option is passed, it keeps the environment used for testing after the program ends::
+   * By default it doesn't remove the temporary directory for the chroot,
+   * or if --schroot is used, the schroot session is not terminated,
+   * or if --docker-image is used, the container created is not destroyed
 
 *-K*, *--keyring*='filename'::
  Use FILE as the keyring to use with debootstrap when creating chroots.
diff --git a/piuparts.py b/piuparts.py
index e12910d..7ea6b38 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -2740,8 +2740,8 @@ def parse_command_line():
 
     parser.add_option("-k", "--keep-tmpdir",
                       action="store_true", default=False,
-                      help="Don't remove the temporary directory for the " +
-                           "chroot when the program ends.")
+                      help="Keep the environment used for testing after the "
+                      "program ends.")
 
     parser.add_option("-K", "--keyring", action="store", metavar="FILE",
                       help="Use FILE as the keyring to use with debootstrap when creating chroots.")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list