Changeset a16bfe1 in rtems-source-builder


Ignore:
Timestamp:
Sep 15, 2018, 7:42:30 AM (13 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
38fd56c
Parents:
219a4ba
git-author:
Chris Johns <chrisj@…> (09/15/18 07:42:30)
git-committer:
Chris Johns <chrisj@…> (09/15/18 07:43:29)
Message:

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

Close #3519.

Location:
source-builder/sb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/options.py

    r219a4ba ra16bfe1  
    266266                            value = '1'
    267267                        self.defaults[los[0][2:].replace('-', '_').lower()] = ('none', 'none', value)
     268                    else:
     269                        raise error.general('unknown option: %s' % (lo))
    268270            else:
    269271                self.opts['params'].append(a)
  • source-builder/sb/setbuilder.py

    r219a4ba ra16bfe1  
    518518        optargs = { '--list-configs':  'List available configurations',
    519519                    '--list-bsets':    'List available build sets',
     520                    '--list-configs':  'List available configuration files.',
    520521                    '--list-deps':     'List the dependent files.',
    521522                    '--bset-tar-file': 'Create a build set tar file',
Note: See TracChangeset for help on using the changeset viewer.