Patchwork [Consolidated,Pull,20/23] cleanup-workdir: update help text

login
register
mail settings
Submitter Saul Wold
Date June 17, 2012, 5:40 a.m.
Message ID <acfae1cb935b7e7b4621b9057b7996cb91acd277.1339911478.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30035/
State New
Headers show

Comments

Saul Wold - June 17, 2012, 5:40 a.m.
From: Kang Kai <kai.kang@windriver.com>

Update the help text to tell user that the files and dirs under WORKDIR
which are not created by Yocto will be deleted.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 scripts/cleanup-workdir |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
index 156a259..c748846 100755
--- a/scripts/cleanup-workdir
+++ b/scripts/cleanup-workdir
@@ -65,8 +65,11 @@  def main():
     parser = optparse.OptionParser(
         usage = """%prog
 
-Remove the obsolete packages' build directories in WORKDIR.
-This script must be ran under BUILDDIR after source file \"oe-init-build-env\".""")
+%prog removes the obsolete packages' build directories in WORKDIR.
+This script must be ran under BUILDDIR after source file \"oe-init-build-env\".
+
+Any file or directory under WORKDIR which is not created by Yocto
+will be deleted. Be CAUTIOUS.""")
 
     options, args = parser.parse_args(sys.argv)