mithrandyr / SimplySql

PowerShell module for querying various SQL databases
MIT License
202 stars 30 forks source link

Fix the help for Open-OracleConnection #12

Closed PaulWalkerUK closed 5 years ago

PaulWalkerUK commented 5 years ago

One of the description lines began with a "." - this confuses the help so it counts it all as invalid and ignores it.

Before the change (note no synopsis):

C:\> help Open-OracleConnection

NAME
    Open-OracleConnection

SYNTAX
    Open-OracleConnection [[-DataSource] <string>] [-ServiceName] <string> -Credential <pscredential> [-ConnectionName
    <string>] [-CommandTimeout <int>] [-Port <int>]  [<CommonParameters>]

...
...

After (synopsis now shown):

C:\> help Open-OracleConnection

NAME
    Open-OracleConnection

SYNOPSIS
    Open a connection to a Oracle Database.

SYNTAX
    Open-OracleConnection [-ConnectionName <String>] [-CommandTimeout <Int32>] [[-DataSource] <String>] [-ServiceName]
    <String> [-Port <Int32>] -Credential <PSCredential> [<CommonParameters>]

...
...
mithrandyr commented 5 years ago

@PaulWalkerUK Thank you for this -- sorry that I didn't get back to you quickly.!