From a7f6b0a03a3b25c5dea94dd1645f2ec32056f7d2 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Fri, 15 Jun 2012 11:22:57 +0800 Subject: 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. (From OE-Core rev: dcd2ebc5d63965a7ad6e714406149f63ffb4a704) Signed-off-by: Kang Kai Signed-off-by: Richard Purdie --- scripts/cleanup-workdir | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts') 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) -- cgit v1.2.3-54-g00ecf