Skip to content

Commit 46e330c

Browse files
committed
[cli help] Include sequence number as card addressing option
1 parent 4a97dc5 commit 46e330c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CommandLineUtilities/Options.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static Option<int> channel("channel", "BAR channel number");
6666
static Option<std::string> registerAddress("address", "Register address in hex format");
6767
static Option<int> registerRange("range", "Amount of registers to print past given address");
6868
static Option<std::string> registerValue("value", "Register value, either in decimal or hex (prefix with 0x)");
69-
static Option<std::string> cardId("id", "Card ID: either serial number or PCI address in 'lspci' format");
69+
static Option<std::string> cardId("id", "Card ID: PCI Address or sequence number, as reported by `roc-list-cards`");
7070
static Option<std::string> resetLevel("reset", "Reset level [NOTHING, INTERNAL, INTERNAL_DIU, INTERNAL_DIU_SIU]");
7171
} // namespace option
7272

src/CommandLineUtilities/ProgramConfig.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ProgramConfig : public Program
3434
virtual Description getDescription()
3535
{
3636
return { "Config", "Configure the CRU(s)",
37-
"roc-config --config-file file:roc.cfg\n"
37+
"roc-config --config-uri ini:///home/flp/roc.cfg\n"
3838
"roc-config --id 42:00.0 --links 0-23 --clock local --datapathmode packet --loopback --gbtmux ttc\n" };
3939
}
4040

0 commit comments

Comments
 (0)