remove deprecated query option

This commit is contained in:
Thomas S Hatch 2012-11-08 09:33:44 -07:00
parent 7db41ce99c
commit d60c9d01b6

View File

@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
'''
salt.utils.parsers
~~~~~~~~~~~~~~~~~~
salt.utils.parsers
~~~~~~~~~~~~~~~~~~
:copyright: © 2012 UfSoft.org - :email:`Pedro Algarvio (pedro@algarvio.me)`
:license: Apache 2.0, see LICENSE for more details.
:copyright: © 2012 UfSoft.org - :email:`Pedro Algarvio (pedro@algarvio.me)`
:license: Apache 2.0, see LICENSE for more details.
'''
import os
@ -711,14 +711,6 @@ class SaltCMDOptionParser(OptionParser, ConfigDirMixIn, TimeoutMixIn,
'but the return data can be redirected into any number of '
'systems, databases or applications.')
)
self.add_option(
'-Q', '--query',
action='store_true',
help=('This option is deprecated and will be removed in a future '
'release, please use salt-run jobs instead.\n'
'Execute a salt command query, this can be used to find '
'the results of a previous function call: -Q test.echo')
)
self.add_option(
'-d', '--doc', '--documentation',
dest='doc',