return optparse.make_option(*self.pargs, **kwargs)
def metavar(self):
o = self.get_option()
- if not o.nargs:
+ if not o.takes_value():
return None
if o.metavar:
return o.metavar
o.write_asciidoc(f)
f.write('\n')
_write_underlined('StGit', '-', f)
- f.write('Part of the StGit suite - see link:stg[1]\n')
+ f.write('Part of the StGit suite - see manlink:stg[1]\n')
def sign_options():
def callback(option, opt_str, value, parser, sign_str):
def author_options():
return _person_opts('author', 'auth')
-def author_committer_options():
- return _person_opts('author', 'auth') + _person_opts('committer', 'comm')
-
class CompgenBase(object):
def actions(self, var): return set()
def words(self, var): return set()