summaryrefslogtreecommitdiff
path: root/lib/ansible/cli/arguments/option_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/cli/arguments/option_helpers.py')
-rw-r--r--lib/ansible/cli/arguments/option_helpers.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ansible/cli/arguments/option_helpers.py b/lib/ansible/cli/arguments/option_helpers.py
index cb37d57c19..a3efb1e268 100644
--- a/lib/ansible/cli/arguments/option_helpers.py
+++ b/lib/ansible/cli/arguments/option_helpers.py
@@ -235,8 +235,6 @@ def add_check_options(parser):
"""Add options for commands which can run with diagnostic information of tasks"""
parser.add_argument("-C", "--check", default=False, dest='check', action='store_true',
help="don't make any changes; instead, try to predict some of the changes that may occur")
- parser.add_argument('--syntax-check', dest='syntax', action='store_true',
- help="perform a syntax check on the playbook, but do not execute it")
parser.add_argument("-D", "--diff", default=C.DIFF_ALWAYS, dest='diff', action='store_true',
help="when changing (small) files and templates, show the differences in those"
" files; works great with --check")