Skip to content

Commit 06834ee

Browse files
committed
Derive Debug for Cli
Because it should.
1 parent 366b8da commit 06834ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use gpio_utils::config::{self, GpioConfig};
1212
use gpio_utils::options::*;
1313
use std::process;
1414

15-
#[derive(Parser)]
15+
#[derive(Debug, Parser)]
1616
#[command(
1717
name = "GPIO Utils",
1818
version,
@@ -26,7 +26,7 @@ struct Cli {
2626
command: Commands,
2727
}
2828

29-
#[derive(Subcommand)]
29+
#[derive(Debug, Subcommand)]
3030
enum Commands {
3131
/// Read the value of a GPIO Input
3232
Read {

0 commit comments

Comments
 (0)