]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate-cache-management.sh:fix the incorrect usage of option `-d'
authorHongxu Jia <hongxu.jia@windriver.com>
Tue, 26 Feb 2013 07:57:17 +0000 (15:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Feb 2013 23:14:39 +0000 (23:14 +0000)
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@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/sstate-cache-management.sh

index 2d4a2a32664c4e134fe03f9b010aa07e7d2210b8..f198ea1d827584691e6d86b59e0af61df62adb6e 100755 (executable)
@@ -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