Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
92
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
ca25c23b
Commit
ca25c23b
authored
1 week ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
userspace/tools/wrs_sfp_dump: improve/fix help message
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
c4b5b88d
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/tools/wrs_sfp_dump.c
+3
-3
3 additions, 3 deletions
userspace/tools/wrs_sfp_dump.c
with
3 additions
and
3 deletions
userspace/tools/wrs_sfp_dump.c
+
3
−
3
View file @
ca25c23b
...
...
@@ -39,7 +39,8 @@ void print_info(char *prgname)
"Select the source of SFP eeprom data:
\n
"
" -L Use eeprom data read by HAL at SFP insertion time (default)
\n
"
" -I Use read eeprom data directly from SFP via I2C
\n
"
" (Use with caution! May corrupt SFPs EEPROM if HAL is running!)
\n
"
" NOTE: Be carefull! All reads (i2c transfers) are in race with HAL!
\n
"
" May corrupt SFPs EEPROM if HAL is running!
\n
"
"Optional parameters:
\n
"
" -p <num> Dump sfp header for specific port (1-18); dump sfp header info for all
\n
"
" ports if no <-p> specified
\n
"
...
...
@@ -53,13 +54,12 @@ void print_info(char *prgname)
" -m Dump SFP basic parameters with matching information (marked with
\"
+
\"
) from HAL
\n
"
" -s Dump SFP (with DOM) summary as table.
\n
"
" -A Dump information about alarms. Implies -s parameter. Note: Output is very wide.
\n
"
" -t <on|off|
0|1
|s> Enable(1), disable(
1
) or check status of SFP's TX pin; Use with -L or -I
\n
"
" -t <on|off|
1|0
|s> Enable(1), disable(
0
) or check status of SFP's TX pin; Use with -L or -I
\n
"
" -q Decrease verbosity
\n
"
" -v Increase verbosity
\n
"
" -V Print version
\n
"
" -h Show this message
\n
"
"
\n
"
"NOTE: Be carefull! All reads (i2c transfers) are in race with HAL!
\n
"
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment