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