Commit c02050a
Fix sqlcmd (Go) documentation accuracy against source code
Validated documentation against microsoft/go-sqlcmd source code and corrected:
- -P switch: Now documented as supported (was 'temporarily removed')
- -R, -I, -M switches: Changed from 'removed' to 'ignored' with explanations
- -N encryption: Updated to show all valid option values from source
- Named pipes: Updated to show full protocol support (lpc/np/tcp)
- Linux tab: Fixed incorrect 'macOS' reference in sqlcmd-download-install.md
Fix sqlcmd (Go) documentation accuracy against source code
Corrections made:
- Fixed -F flag documentation: -F is for host-name-in-certificate (same as ODBC)
- Fixed vertical format: use --vertical (no short flag exists)
- Updated notes in both Go and ODBC sections to accurately reflect behavior
- Added complete ODBC-compatible flags list (-?) to Go section
- Shows both --help (modern commands) and -? (ODBC-compatible flags)
- Previous fixes for -P, -r, -R, -I, -M, -N switches remain valid
Verified against microsoft/go-sqlcmd source code:
- Line 443: -F = host-name-in-certificate
- Line 450: --vertical (no shorthand) = vertical format
ai-usage: ai-assisted1 parent fb8877f commit c02050a
2 files changed
Lines changed: 182 additions & 119 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments