]> code.ossystems Code Review - openembedded-core.git/commitdiff
cleanup-workdir: update help text
authorKang Kai <kai.kang@windriver.com>
Fri, 15 Jun 2012 03:22:57 +0000 (11:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jun 2012 12:16:37 +0000 (13:16 +0100)
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

index 156a2597c179590795ed021147a4aa3157dab2f5..c748846d7c674f45bacd2280acb65e6caaa9a1f2 100755 (executable)
@@ -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)