Lines Matching refs:Some

85                 username: Some(info.username.clone()),  in check()
86 uid: Some(info.uid.clone()), in check()
169 if exit_status.code() != Some(0) { in check_group_gid()
201 username: Some(info.username.clone()), in check()
207 if let Some(_) = cmd.options.get(&CmdOption::Remove) { in check()
208 info.home = Some(Self::home(&info.username)); in check()
255 if let Some(shell) = &info.new_shell { in check()
260 if let Some(new_home) = &info.new_home { in check()
267 username: Some(info.username.clone()), in check()
316 info.groups = Some(arg.split(",").map(|s| s.to_string()).collect()); in parse_options()
319 info.new_comment = Some(arg.clone()); in parse_options()
322 info.new_home = Some(arg.clone()); in parse_options()
325 info.new_gid = Some(arg.clone()); in parse_options()
328 info.new_name = Some(arg.clone()); in parse_options()
331 info.new_shell = Some(arg.clone()); in parse_options()
334 info.new_uid = Some(arg.clone()); in parse_options()
363 if let Some(username) = cmd.username { in check()
377 username: Some(username.clone()), in check()
526 if let Some(gid) = cmd.options.get(&CmdOption::Gid) { in check()
532 if let Some(passwd) = cmd.options.get(&CmdOption::Passwd) { in check()
533 info.passwd = Some(passwd.clone()); in check()
539 groups: Some(vec![info.groupname.clone()]), in check()
540 gid: Some(info.gid.clone()), in check()
562 if let Some(gid) = check_groupname(cmd.groupname.clone()) { in check()
629 if let Some(new_groupname) = cmd.options.get(&CmdOption::NewGroupName) { in check()
630 info.new_groupname = Some(new_groupname.clone()); in check()
633 if let Some(new_gid) = cmd.options.get(&CmdOption::Gid) { in check()
634 info.new_gid = Some(new_gid.clone()); in check()
655 if let Some(new_gid) = &info.new_gid { in check_group_file()
664 if let Some(new_groupname) = &info.new_groupname { in check_group_file()
713 if let Some(uid) = &passwd_field.uid { in scan_passwd()
736 if let Some(username) = &passwd_field.username { in scan_passwd()
753 if let Some(uid) = &passwd_field.uid { in scan_passwd()
761 if let Some(username) = &passwd_field.username { in scan_passwd()
787 if let Some(groups) = group_field.groups.clone() { in scan_group()
794 if let Some(gid) = &group_field.gid { in scan_group()
821 if let Some(gid) = &group_field.gid { in scan_group()
889 return Some(field[2].to_string()); in check_groupname()