Skip to content

Commit

Permalink
enh(help): enhance the help for extracted-pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
omercier committed Nov 29, 2023
1 parent d54d655 commit a9fa81b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/apps/protocols/http/mode/expectedcontent.pm
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Specify that the type of certificate is PKCS1.
=item B<--data>
Set POST data request (For a JSON data, add following option: --header='Content-Type: application/json')
Define the POST data to send int the body of the request. For JSON data, add the following option: --header='Content-Type: application/json'.
=item B<--header>
Expand All @@ -311,7 +311,7 @@ Save cookies in a file (example: '/tmp/lwp_cookies.dat')
=item B<--extracted-pattern>
Set pattern to extracted a number (used --warning-extracted and --critical-extracted option).
Define a pattern to extract a number from the returned page (use --warning-extracted and --critical-extracted option).
=item B<--expected-string>
Expand Down
2 changes: 1 addition & 1 deletion src/snmp_standard/mode/numericvalue.pm
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Convert counter value on a value per seconds (only with type 'counter').
=item B<--extracted-pattern>
Set pattern to extracted a number.
Define a pattern to extract a number from the returned string.
=item B<--format>
Expand Down

0 comments on commit a9fa81b

Please sign in to comment.