summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-07-03 22:39:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-21 11:00:58 +0100
commit231c7373fb760d777cd29d27129c68374968cbff (patch)
tree80dd2c11af91ed0fc7b7e3764a6fecf19b04d130 /bitbake/bin
parentd74b8824ae254e15cc972e60dd35772e6d6b1361 (diff)
downloadpoky-231c7373fb760d777cd29d27129c68374968cbff.tar.gz
bitbake: bitbake: update help message for dump-signatures
The bitbake -S had been updated which always reuires an argument, so update the help info: - Add the two args in the help message: none and printdiff - Use type="choice" so that we can get more friendly error messages, for example: bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff') - dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER (Bitbake rev: 021b778fa4685bdde39e1a0f6c7c57632dcf792a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index b3acbe1bd2..e31a636024 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
139 parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.", 139 parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
140 action = "store_true", dest = "dry_run", default = False) 140 action = "store_true", dest = "dry_run", default = False)
141 141
142 parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.", 142 parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER parameter is passed to the handler. Two common values are none and printdiff but the handler may define more/less. none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
143 action = "append", dest = "dump_signatures", default = []) 143 action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")
144 144
145 parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.", 145 parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.",
146 action = "store_true", dest = "parse_only", default = False) 146 action = "store_true", dest = "parse_only", default = False)