mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
set the default disp_ord of App to 999. Required for display_order and DeriveDisplay to work properly
This commit is contained in:
parent
633ce74ba9
commit
4321cba5ba
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ impl<'b> App<'b> {
|
||||||
App {
|
App {
|
||||||
id,
|
id,
|
||||||
name,
|
name,
|
||||||
|
disp_ord: 999,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue