From: Zac Medico Date: Mon, 18 Mar 2013 11:06:41 +0000 (-0700) Subject: portageq: add pquery to global command list X-Git-Tag: v2.2.0_alpha167~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1938f73159b843911e07b9dad9d13443be06540d;p=portage.git portageq: add pquery to global command list --- diff --git a/bin/portageq b/bin/portageq index 1b3658fdf..a691a56c7 100755 --- a/bin/portageq +++ b/bin/portageq @@ -873,73 +873,6 @@ def list_preserved_libs(argv): return rValue list_preserved_libs.uses_eroot = True -#----------------------------------------------------------------------------- -# -# DO NOT CHANGE CODE BEYOND THIS POINT - IT'S NOT NEEDED! -# - -non_commands = frozenset(['elog', 'eval_atom_use', 'exithandler', 'main', 'pquery', 'usage']) -commands = sorted(k for k, v in globals().items() \ - if k not in non_commands and isinstance(v, types.FunctionType) and v.__module__ == "__main__") - -def usage(argv, parser=None, pquery_option_groups=None): - print(">>> Portage information query tool") - print(">>> %s" % portage.VERSION) - print(">>> Usage: portageq [