@@ -34,38 +34,55 @@ enum Commands {
3434 #[ command( subcommand) ]
3535 command : Option < DebugCommand > ,
3636 } ,
37- /// Fetch the Bitcoin Core debug log from <node> in [network]
38- DebugLog { node : u64 } ,
37+ /// Fetch the Bitcoin Core debug log from a node
38+ DebugLog {
39+ /// Node index (integer)
40+ node : u64 ,
41+ } ,
3942 /// Graph commands
4043 Graph {
4144 #[ command( subcommand) ]
4245 command : Option < GraphCommand > ,
4346 } ,
44- /// Grep combined logs via fluentd using regex <pattern>
45- GrepLogs { pattern : String } ,
47+ /// Grep combined logs using regex
48+ GrepLogs {
49+ /// Pattern to search for (as regex)
50+ pattern : String ,
51+ } ,
4652 /// Build a warnet-ready bitcoind docker image from a github branch
4753 Image {
4854 #[ command( subcommand) ]
4955 command : Option < ImageCommand > ,
5056 } ,
51- /// Call lncli <method> [params] on <node> in [network]
57+ /// Call " lncli ..." on a node
5258 LnCli {
59+ /// Node index (integer)
5360 node : u64 ,
61+ /// lncli method
5462 method : String ,
63+ /// Optional arguments to method
5564 params : Option < Vec < String > > ,
5665 } ,
57- /// Fetch messages sent between <node_a> and <node_b> in [network]
58- Messages { node_a : u64 , node_b : u64 } ,
66+ /// Fetch bitcoin P2P messages sent between two nodes
67+ Messages {
68+ /// First node
69+ node_a : u64 ,
70+ /// Second node
71+ node_b : u64 ,
72+ } ,
5973 /// Network commands
6074 Network {
6175 #[ command( subcommand) ]
6276 command : Option < NetworkCommand > ,
6377 } ,
64- /// Call bitcoin-cli <method> [params] on <node> in [network]
78+ /// Call " bitcoin-cli ..." on a node
6579 Rpc {
80+ /// Node index (integer)
6681 node : u64 ,
82+ /// bitcoin-cli method
6783 #[ arg( allow_hyphen_values = true ) ]
6884 method : String ,
85+ /// Optional arguments to method
6986 params : Option < Vec < String > > ,
7087 } ,
7188 /// Scenario commands
0 commit comments