Skip to content

Commit

Permalink
Fix Help path
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Oct 6, 2018
1 parent 53184e0 commit ca88e51
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 105 deletions.
2 changes: 1 addition & 1 deletion Public/Diagnostics/Clear-OPNsenseARP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#>

Function Clear-OPNsenseARP {
# .EXTERNALHELP ../PS_OPNsense.psd1-Help.xml
# .EXTERNALHELP ../../PS_OPNsense.psd1-Help.xml
[CmdletBinding(
SupportsShouldProcess = $true,
ConfirmImpact = "High"
Expand Down
2 changes: 1 addition & 1 deletion Public/Diagnostics/Get-OPNsenseARP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#>

Function Get-OPNsenseARP {
# .EXTERNALHELP ../PS_OPNsense.psd1-Help.xml
# .EXTERNALHELP ../../PS_OPNsense.psd1-Help.xml
[CmdletBinding()]
param (
)
Expand Down
2 changes: 1 addition & 1 deletion Public/Diagnostics/Get-OPNsenseInterface.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#>

Function Get-OPNsenseInterface {
# .EXTERNALHELP ../PS_OPNsense.psd1-Help.xml
# .EXTERNALHELP ../../PS_OPNsense.psd1-Help.xml
[CmdletBinding()]
Param()
$result = $(Invoke-OPNsenseCommand diagnostics systemhealth getRRDlist).data.traffic |
Expand Down
2 changes: 1 addition & 1 deletion Public/Diagnostics/Get-OPNsenseResource.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#>

Function Get-OPNsenseResource {
# .EXTERNALHELP ../PS_OPNsense.psd1-Help.xml
# .EXTERNALHELP ../../PS_OPNsense.psd1-Help.xml
[CmdletBinding()]
Param()
$result = $(Invoke-OPNsenseCommand diagnostics systemhealth getRRDlist).data.system |
Expand Down
2 changes: 1 addition & 1 deletion Public/Diagnostics/Get-OPNsenseSystemHealth.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
SOFTWARE.
#>
Function Get-OPNsenseSystemHealth {
# .EXTERNALHELP ../PS_OPNsense.psd1-Help.xml
# .EXTERNALHELP ../../PS_OPNsense.psd1-Help.xml
[CmdletBinding()]
param (
[parameter(Mandatory = $true, ParameterSetName = "Packets")]
Expand Down
160 changes: 60 additions & 100 deletions en-US/PS_OPNsense.psd1-Help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2555,106 +2555,6 @@ intf_description : wan</maml:para>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
<command:details>
<command:name>Get-OPNsenseRoute</command:name>
<maml:description>
<maml:para>List the route table from OPNsense</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Get</command:verb>
<command:noun>OPNsenseRoute</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>List the route table from OPNsense</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Get-OPNsenseRoute</maml:name>
</command:syntaxItem>
</command:syntax>
<command:parameters> </command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description/>
</dev:type>
<maml:description>
<maml:para />
</maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description/>
</dev:type>
<maml:description>
<maml:para />
</maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors></command:terminatingErrors>
<command:nonTerminatingErrors></command:nonTerminatingErrors>
<maml:alertSet>
<maml:title></maml:title>
<maml:alert>
<maml:para />
</maml:alert>
</maml:alertSet>
<command:examples>
<command:example>
<maml:title>-------------------------- List route table --------------------------</maml:title>
<maml:introduction>
<maml:paragraph>PS C:\&gt;</maml:paragraph>
</maml:introduction>
<dev:code>Get-OPNsenseRoute | Format-List</dev:code>
<dev:remarks>
<maml:para />
<maml:para />
<maml:para />
<maml:para>use netif proto destination mtu expire flags gateway intf_description
--- ----- ----- ----------- --- ------ ----- ------- ----------------
0 em0 ipv4 default 1500 UGS 192.168.0.1 wan
5887 em1 ipv4 10.10.10.0/24 1500 U link#2 lan
0 lo0 ipv4 10.10.10.8 16384 UHS link#2
284570 lo0 ipv4 127.0.0.1 16384 UH link#4
48 em0 ipv4 192.168.0.0/24 1500 U link#1 wan
0 lo0 ipv4 192.168.0.2 16384 UHS link#1
0 em0 ipv4 190.555.130.9 1500 UHS 00:0c:29:59:6a:36 wan
12 em0 ipv4 190.555.131.9 1500 UHS 00:0c:29:59:6a:36 wan
0 em0 ipv6 default 1500 UGS fe80::5e35:3bff:feb8:16ce%em0 wan
6985 lo0 ipv6 ::1 16384 UH link#4
0 em0 ipv6 2a02:1810:5558:8300::/64 1500 U link#1 wan
0 lo0 ipv6 2a02:1810:5558:8300:20c:29ff:fe59:6a36 16384 UHS link#1
0 lo0 ipv6 2a02:1810:5558:8300:3aea:2d7e:30fd:3866 16384 UHS link#1
7478 em0 ipv6 fe80::%em0/64 1500 U link#1 wan
0 lo0 ipv6 fe80::20c:29ff:fe59:6a36%em0 16384 UHS link#1
0 em1 ipv6 fe80::%em1/64 1500 U link#2 lan
0 lo0 ipv6 fe80::20c:29ff:fe59:6a40%em1 16384 UHS link#2
0 lo0 ipv6 fe80::%lo0/64 16384 U link#4
0 lo0 ipv6 fe80::1%lo0 16384 UHS link#4 </maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText>
<maml:para />
</command:commandText>
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
<command:details>
<command:name>Get-OPNsenseService</command:name>
Expand Down Expand Up @@ -11889,4 +11789,64 @@ done ***GOT REQUEST TO UPGRADE: all***
<maml:relatedLinks>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<!--Generated by PS Cmdlet Help Editor-->
<command:details>
<command:name>Get-OPNsenseRouteTable</command:name>
<maml:description>
<maml:para>Show the route table from OPNsense</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Get</command:verb>
<command:noun>OPNsenseRouteTable</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>Display the route table of the OPNsense server.</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Get-OPNsenseRouteTable</maml:name>
</command:syntaxItem>
</command:syntax>
<command:parameters> </command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description/>
</dev:type>
<maml:description>
<maml:para />
</maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description/>
</dev:type>
<maml:description>
<maml:para />
</maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors></command:terminatingErrors>
<command:nonTerminatingErrors></command:nonTerminatingErrors>
<maml:alertSet>
<maml:title></maml:title>
<maml:alert>
<maml:para />
</maml:alert>
</maml:alertSet>
<command:examples>
</command:examples>
<maml:relatedLinks>
</maml:relatedLinks>
</command:command>
</helpItems>

0 comments on commit ca88e51

Please sign in to comment.