48
48
def shellcomplete_on_options(options, outfile=None):
52
51
outfile.write('"(--%s -%s)"{--%s,-%s}\n'
53
% (opt.name, short_name, opt.name, short_name))
52
% (opt.name, opt.short_name(), opt.name, opt.short_name()))
55
54
outfile.write('--%s\n' % opt.name)