From: Kang Kai Date: Fri, 15 Jun 2012 03:22:57 +0000 (+0800) Subject: cleanup-workdir: update help text X-Git-Tag: rev_ivi_2015_02_04~16885 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5514dc3f0c15fb36f2223f61641da66faf0ec6c3;p=scm%2Fbb%2Ftizen-distro.git 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 --- 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)