diff options
Diffstat (limited to 'attoconf/classy.py')
-rw-r--r-- | attoconf/classy.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/attoconf/classy.py b/attoconf/classy.py index f390ebc..c7ecf5e 100644 --- a/attoconf/classy.py +++ b/attoconf/classy.py @@ -90,10 +90,25 @@ class ClassyProject(Project): def features(self): ''' Customizations for this package (--enable-*). ''' + self.add_help('Optional Features:', hidden=False) + # TODO add '--disable-option-checking' + self.help.add_option('--disable-FEATURE', + help='do not include FEATURE (same as --enable-FEATURE=no)', + hidden=False) + self.help.add_option('--enable-FEATURE', + help='include FEATURE (same as --enable-FEATURE=yes)', + hidden=False) def packages(self): ''' Settings related to dependencies (--with-*). ''' + self.add_help('Optional Packages:', hidden=False) + self.help.add_option('--with-PACKAGE', + help='use PACKAGE (same as --with-PACKAGE=yes)', + hidden=False) + self.help.add_option('--without-PACKAGE', + help='do not use PACKAGE (same as --with-PACKAGE=no)', + hidden=False) if 0: # not sure if really needed def tests(self): |