[oe-commits] Kang Kai : cleanup-workdir: update help text
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 18 12:18:14 UTC 2012
Module: openembedded-core.git
Branch: master-next
Commit: dcd2ebc5d63965a7ad6e714406149f63ffb4a704
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=dcd2ebc5d63965a7ad6e714406149f63ffb4a704
Author: Kang Kai <kai.kang at windriver.com>
Date: Fri Jun 15 11:22:57 2012 +0800
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 at windriver.com>
---
scripts/cleanup-workdir | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
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)
More information about the Openembedded-commits
mailing list