mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
remove deprecated query option
This commit is contained in:
parent
7db41ce99c
commit
d60c9d01b6
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user