mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 17:15:12 +00:00
fix page size for search cmd
This commit is contained in:
parent
248e537bc1
commit
9602fc0b5b
|
@ -177,7 +177,7 @@ pub fn msg_matches(matches: &ArgMatches) -> Result<()> {
|
|||
|
||||
if let Some(matches) = matches.subcommand_matches("search") {
|
||||
let mut imap_conn = ImapConnector::new(&account)?;
|
||||
let page_size: usize = matches.value_of("size").unwrap().parse().unwrap();
|
||||
let page_size: usize = matches.value_of("page-size").unwrap().parse().unwrap();
|
||||
let page: usize = matches.value_of("page").unwrap().parse().unwrap();
|
||||
let query = matches
|
||||
.values_of("query")
|
||||
|
|
Loading…
Reference in a new issue