Fix no help for bp and resolve

This commit is contained in:
pjht 2022-10-24 08:37:04 -05:00
parent 73de019770
commit 4e065a55d0

View File

@ -363,7 +363,7 @@ fn main() -> Result<(), anyhow::Error> {
.help("The location to resolve")
.required(true),
)
.help("Resolve a location to an address"),
.about("Resolve a location to an address"),
|args, state| {
let location = args.get_one::<String>("location").unwrap();
Ok(Some(format!(
@ -386,7 +386,7 @@ fn main() -> Result<(), anyhow::Error> {
.requires("location")
.help("Delete the breakpoint instead of setting it"),
)
.help("Set a breakpoint or list current breakpoints"),
.about("Set a breakpoint or list current breakpoints"),
|args, state| {
if let Some(location) = args.get_one::<String>("location") {
let location = state.symbol_tables.parse_location(location)?;