Patchwork [4/4] cleanup-workdir: update help text

login
register
mail settings
Submitter Kang Kai
Date June 15, 2012, 5:56 a.m.
Message ID <27e7b8dc39fb0a415a2a9452df8f73b3975eec7f.1339739522.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/29919/
State Accepted
Commit dcd2ebc5d63965a7ad6e714406149f63ffb4a704
Headers show

Comments

Kang Kai - June 15, 2012, 5:56 a.m.
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)