[oe-commits] Hongxu Jia : sstate-cache-management.sh: fix the incorrect usage of option `-d'

git at git.openembedded.org git at git.openembedded.org
Thu Feb 28 23:15:52 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: fa0b40c233e757fe986aa45798b35b60b89c879f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fa0b40c233e757fe986aa45798b35b60b89c879f

Author: Hongxu Jia <hongxu.jia at windriver.com>
Date:   Tue Feb 26 15:57:17 2013 +0800

sstate-cache-management.sh:fix the incorrect usage of option `-d'

The description of option `-d' is not correct in useage. It is used to
remove duplicate and debug at the same time. Use option `-D' to control
debug info output and the option `-d' to flag remove duplicate.

[YOCTO #3635]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 scripts/sstate-cache-management.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 2d4a2a3..f198ea1 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -72,7 +72,7 @@ Options:
   -v, --verbose
         explain what is being done
 
-  -d, --debug
+  -D, --debug
         show debug info, repeat for more debug info
 
 EOF
@@ -388,7 +388,7 @@ while [ -n "$1" ]; do
       verbose="-v"
       shift
         ;;
-    --debug)
+    --debug|-D)
       debug=`expr $debug + 1`
       echo "Debug level $debug"
       shift





More information about the Openembedded-commits mailing list