def complete_rmdir(prefix, line, start, end, ctx):
 if ((start != 0) and (line.split(' ')[0] == 'rmdir')):
  opts = {i for i in complete_from_man('-', 'rmdir -', 6, 7, ctx) if i.startswith(prefix)}
  (comps, lp) = complete_dir(prefix, line, start, end, ctx, True)
  return ((comps | opts), lp)
 return set()

def complete_rmdir ( prefix , line , start , end , ctx ) : if ( ( start != 0 ) and ( line . split ( ' ' ) [ 0 ] == 'rmdir' ) ) : opts = { i for i in complete_from_man ( '-' , 'rmdir -' , 6 , 7 , ctx ) if i . startswith ( prefix ) } ( comps , lp ) = complete_dir ( prefix , line , start , end , ctx , True ) return ( ( comps | opts ) , lp ) return set ( )
completion for "rmdir" .