moved CmdletBinding after help comment. Examples were not displaying

This commit is contained in:
dfinke
2018-07-05 16:29:25 -04:00
parent df220534d8
commit fc4b1638da

View File

@@ -1,5 +1,4 @@
function Join-Worksheet {
[CmdletBinding(DefaultParameterSetName = 'Default')]
<#
.SYNOPSIS
Combines data on all the sheets in an Excel worksheet onto a single sheet.
@@ -34,6 +33,8 @@
Specifying -LabelBlocks causes each sheet's name to become a title on the summary page above the copied data.
The source data is hidden, a title is addded in 22 point boldface and the columns are sized to fit the data.
#>
[CmdletBinding(DefaultParameterSetName = 'Default')]
param (
# Path to a new or existing .XLSX file.
[Parameter(ParameterSetName = "Default", Position = 0)]