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 <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kang Kai 2012-06-15 11:22:57 +08:00 committed by Richard Purdie
parent 3360a4f1b3
commit a7f6b0a03a
1 changed files with 5 additions and 2 deletions

View File

@ -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)