Skip to content

Commit

Permalink
fix a couple of typos. reduce release binary size
Browse files Browse the repository at this point in the history
  • Loading branch information
pm100 committed Dec 31, 2023
1 parent 28e3944 commit 01d3eef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ thiserror = "1.0.51"

[build-dependencies]
cc = "1.0.83"

[profile.release]
strip = true
2 changes: 1 addition & 1 deletion src/debugger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl Debugger {
WatchPoint {
addr: wp_addr,
symbol: save_sym,
number: self.break_points.len() + 1,
number: self.watch_points.len() + 1,
watch: wt,
},
);
Expand Down
6 changes: 3 additions & 3 deletions src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ pub fn syntax() -> Command {
Command::new("print")
.alias("p")
.arg(arg!(<address> "address of value to print"))
.arg(arg!(asint: -i "int"))
.arg(arg!(asint: -i "integer"))
.arg(arg!(aspointer: -p "pointer"))
.arg(arg!(asstring: -s "string"))
.arg(arg!(asstring: -s "string"))
.group(
ArgGroup::new("format").args(["asint", "aspointer", "asstring"]), //.required(true), // default to int
)
.about("delete breakpoint")
.about("pretty print of memory")
.help_template(APPLET_TEMPLATE),
)
.subcommand(
Expand Down

0 comments on commit 01d3eef

Please sign in to comment.