mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
handle the no-arg case correctly
This commit is contained in:
parent
b2c464be0f
commit
5a73d17a0a
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ impl<'a> ShellCmdApi<'a> for Test {
|
|||
let keystore = keystore::Keystore::new(&_env.xns);
|
||||
if args.len() != 1 {
|
||||
write!(ret, "bootwait [check | enable | disable]").ok();
|
||||
return Ok(Some(ret));
|
||||
}
|
||||
if args[0] == "check" {
|
||||
write!(ret, "bootwait is {:?}", keystore.bootwait(None).unwrap()).ok();
|
||||
|
|
|
|||
Loading…
Reference in a new issue