Skip to content

Commit 0edf721

Browse files
committed
callbacks: drop redundant version and author info
This is sufficiently handled on crate level.
1 parent eff5275 commit 0edf721

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

src/callbacks/balances.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ impl Callback for Balances {
2828
{
2929
Command::new("balances")
3030
.about("Dumps all addresses with non-zero balance to CSV file")
31-
.version("0.1")
32-
.author("gcarq <[email protected]>")
3331
.arg(
3432
Arg::new("dump-folder")
3533
.help("Folder to store csv file")

src/callbacks/opreturn.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ impl Callback for OpReturn {
1212
{
1313
Command::new("opreturn")
1414
.about("Shows embedded OP_RETURN data that is representable as UTF8")
15-
.version("0.1")
16-
.author("gcarq <[email protected]>")
1715
}
1816

1917
fn new(_: &ArgMatches) -> anyhow::Result<Self>

src/callbacks/simplestats.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,7 @@ impl Callback for SimpleStats {
178178
where
179179
Self: Sized,
180180
{
181-
Command::new("simplestats")
182-
.about("Shows various Blockchain stats")
183-
.version("0.1")
184-
.author("gcarq <[email protected]>")
181+
Command::new("simplestats").about("Shows various Blockchain stats")
185182
}
186183

187184
fn new(_: &ArgMatches) -> anyhow::Result<Self>

src/callbacks/unspentcsvdump.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ impl crate::callbacks::Callback for UnspentCsvDump {
2828
{
2929
Command::new("unspentcsvdump")
3030
.about("Dumps the unspent outputs to CSV file")
31-
.version("0.1")
32-
.author("fsvm88 <[email protected]>")
3331
.arg(
3432
Arg::new("dump-folder")
3533
.help("Folder to store csv file")

0 commit comments

Comments
 (0)