Lines Matching refs:format
52 format!("Unimplemented option: {}", op), in check()
72 let home_dir = format!("/home/{}", info.username.clone()); in check()
116 format!("The gid of the group [{}] isn't {}", info.group, info.gid), in check_group_gid()
128 format!("The gid of the group [{}] isn't {}", info.group, info.gid), in check_group_gid()
300 ErrorHandler::error_handle(format!("{} already exists", home), ExitStatus::InvalidArg); in check_home()
568 format!("group:[{}] doesn't exist", cmd.groupname), in check()
594 format!( in is_main_group()
658 format!("gid:[{}] is already used", new_gid), in check_group_file()
667 format!("groupname:[{}] is already used", new_groupname), in check_group_file()
682 format!("groupname:[{}] doesn't exist", info.groupname), in check_group_file()
718 format!("Uid {} is invalid", uid), in scan_passwd()
729 format!("UID {} already exists", uid), in scan_passwd()
744 format!("Username {} already exists", username), in scan_passwd()
756 format!("UID {} doesn't exist", uid), in scan_passwd()
764 format!("User {} doesn't exist", username), in scan_passwd()
799 format!("Gid {} is invalid", gid), in scan_group()
809 format!("GID {} already exists", gid), in scan_group()
824 format!("GID {} doesn't exist", gid), in scan_group()
839 format!("group: {} doesn't exist", non_exist_group.join(",")), in scan_group()
861 ErrorHandler::error_handle(format!("{} is not a file", shell), ExitStatus::InvalidArg); in check_shell()
864 ErrorHandler::error_handle(format!("{} doesn't exist", shell), ExitStatus::InvalidArg); in check_shell()
892 format!("group:[{}] is not empty, unable to delete", groupname), in check_groupname()