[web] Properly parse prefstring in CLI args
This commit is contained in:
parent
c4b8b55414
commit
6e1afdb4b6
|
@ -1,3 +1,4 @@
|
|||
use pronouns_today::UserPreferences;
|
||||
use std::fs::OpenOptions;
|
||||
use std::fs::File;
|
||||
use std::io::Write;
|
||||
|
@ -66,7 +67,7 @@ pub struct Run {
|
|||
#[argh(option)]
|
||||
/// default pronoun probabilites (formatted as a prefstring, like the ones in the
|
||||
/// used in the custom URLs, e.g. "acaqeawdym")
|
||||
pub default_prefstr: Option<String>,
|
||||
pub default_prefstr: Option<UserPreferences>,
|
||||
}
|
||||
|
||||
impl Run {
|
||||
|
|
Loading…
Reference in New Issue