#NEWLINE# def get_all_cmd_line_scopes( self ) : #NEWLINE# #INDENT# "Return all scopes that may be explicitly specified on the cmd line, in no particular order.\n\n    Note that this includes only task scope, and not, say, subsystem scopes,\n    as those aren't specifiable on the cmd line.\n    " #NEWLINE# all_scopes = set ( [ '' ] ) #NEWLINE# for goal in Goal . all ( ) : #NEWLINE# #INDENT# for scope_info in goal . known_scope_infos ( ) : #NEWLINE# #INDENT# if ( scope_info . category == ScopeInfo . TASK ) : #NEWLINE# #INDENT# all_scopes . add ( scope_info . scope ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return all_scopes