summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-02-26 15:57:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-28 23:15:47 +0000
commit2032301ef40d13ce7ceb17bce982409eadc3a670 (patch)
tree91f8f3b67f2e0c5e48b9a90f271abce0a466bba2 /scripts
parentfa066de5f1cea9aa51ae449a04912b252fd1affe (diff)
downloadpoky-2032301ef40d13ce7ceb17bce982409eadc3a670.tar.gz
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] (From OE-Core rev: fa0b40c233e757fe986aa45798b35b60b89c879f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sstate-cache-management.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
index 2d4a2a3266..f198ea1d82 100755
--- a/scripts/sstate-cache-management.sh
+++ b/scripts/sstate-cache-management.sh
@@ -72,7 +72,7 @@ Options:
72 -v, --verbose 72 -v, --verbose
73 explain what is being done 73 explain what is being done
74 74
75 -d, --debug 75 -D, --debug
76 show debug info, repeat for more debug info 76 show debug info, repeat for more debug info
77 77
78EOF 78EOF
@@ -388,7 +388,7 @@ while [ -n "$1" ]; do
388 verbose="-v" 388 verbose="-v"
389 shift 389 shift
390 ;; 390 ;;
391 --debug) 391 --debug|-D)
392 debug=`expr $debug + 1` 392 debug=`expr $debug + 1`
393 echo "Debug level $debug" 393 echo "Debug level $debug"
394 shift 394 shift