Skip to content

Commit 9e316af

Browse files
authored
Removing blocker when using integrated auth on Mac/Linux and resetting paramter to -E. (#214)
1 parent ac7265d commit 9e316af

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

mssqlcli/main.py

-7
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def run_cli_with(options):
4242
display_telemetry_message()
4343

4444
display_version_message(options)
45-
display_integrated_auth_message_for_non_windows(options)
4645

4746
configure_and_update_options(options)
4847

@@ -77,12 +76,6 @@ def create_config_dir_for_first_use():
7776
return False
7877

7978

80-
def display_integrated_auth_message_for_non_windows(options):
81-
if platform.system().lower() != 'windows' and options.integrated_auth:
82-
options.integrated_auth = False
83-
print(u'Integrated authentication not supported on this platform')
84-
85-
8679
def display_version_message(options):
8780
if options.version:
8881
print('Version:', __version__)

mssqlcli/mssqlclioptionsparser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def create_parser():
4747
help=u'SQL Server instance name or address.')
4848

4949
args_parser.add_argument(
50-
u'-I', u'--integrated',
50+
u'-E', u'--integrated',
5151
dest=u'integrated_auth',
5252
action=u'store_true',
5353
default=False,

0 commit comments

Comments
 (0)