mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
CORDA-3587: hashLookup command help misspelling (#5936)
This commit is contained in:
parent
448e7baf0b
commit
ba002a82ec
@ -22,13 +22,13 @@ public class HashLookupShellCommand extends InteractiveShellCommand {
|
|||||||
@Man("Checks if a transaction matching a specified Id hash value is recorded on this node.\n\n" +
|
@Man("Checks if a transaction matching a specified Id hash value is recorded on this node.\n\n" +
|
||||||
"This is mainly intended to be used for troubleshooting notarisation issues when a\n" +
|
"This is mainly intended to be used for troubleshooting notarisation issues when a\n" +
|
||||||
"state is claimed to be already consumed by another transaction.\n\n" +
|
"state is claimed to be already consumed by another transaction.\n\n" +
|
||||||
"Example usage: hash-lookup E470FD8A6350A74217B0A99EA5FB71F091C84C64AD0DE0E72ECC10421D03AAC9"
|
"Example usage: hashLookup E470FD8A6350A74217B0A99EA5FB71F091C84C64AD0DE0E72ECC10421D03AAC9"
|
||||||
)
|
)
|
||||||
public void main(@Usage("A hexadecimal SHA-256 hash value representing the hashed transaction Id") @Argument(unquote = false) String txIdHash) {
|
public void main(@Usage("A hexadecimal SHA-256 hash value representing the hashed transaction Id") @Argument(unquote = false) String txIdHash) {
|
||||||
logger.info("Executing command \"hash-lookup\".");
|
logger.info("Executing command \"hashLookup\".");
|
||||||
|
|
||||||
if (txIdHash == null) {
|
if (txIdHash == null) {
|
||||||
out.println("Please provide a hexadecimal transaction Id hash value, see 'man hash-lookup'", Decoration.bold, Color.red);
|
out.println("Please provide a hexadecimal transaction Id hash value, see 'man hashLookup'", Decoration.bold, Color.red);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user