sb: Raise an error if an option is not registered and unknown.

Close #3519.
This commit is contained in:
Chris Johns
2018-09-15 17:42:30 +10:00
parent 219a4babbc
commit a16bfe19ef
2 changed files with 3 additions and 0 deletions

View File

@@ -517,6 +517,7 @@ def run():
try:
optargs = { '--list-configs': 'List available configurations',
'--list-bsets': 'List available build sets',
'--list-configs': 'List available configuration files.',
'--list-deps': 'List the dependent files.',
'--bset-tar-file': 'Create a build set tar file',
'--pkg-tar-files': 'Create package tar files',