summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-06-15 11:22:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 13:16:37 +0100
commitdcd2ebc5d63965a7ad6e714406149f63ffb4a704 (patch)
tree0bb97f167aaba9b8e6ca0ad70ad9339d5b2b4431
parenta16727ebc341e0a0ce59a5200dc774cf672593ee (diff)
downloadopenembedded-core-dcd2ebc5d63965a7ad6e714406149f63ffb4a704.tar.gz
openembedded-core-dcd2ebc5d63965a7ad6e714406149f63ffb4a704.tar.bz2
openembedded-core-dcd2ebc5d63965a7ad6e714406149f63ffb4a704.zip
cleanup-workdir: update help text
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>
-rwxr-xr-xscripts/cleanup-workdir7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
index 156a2597c1..c748846d7c 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)