diff --git a/src/main.rs b/src/main.rs index 95df559..07c295a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ fn main() { let root = Path::new(&root_arg); let name_arg = env::args().nth(5).unwrap_or("USER".to_string()); - match proton_cli::user_new(project, root, name_arg) { + match proton_cli::new_user(project, root, name_arg) { Ok(_) => println!("Worked!"), Err(e) => println!("{:?}", e.to_string()), } diff --git a/src/user.rs b/src/user.rs index b49da45..62dfbb4 100644 --- a/src/user.rs +++ b/src/user.rs @@ -8,7 +8,7 @@ use project_types::Project; use Error; -pub fn user_new>(project: String, public: P, name: String) -> Result<(), Error> { +pub fn new_user>(project: String, public: P, name: String) -> Result<(), Error> { // Get public key from file let pub_key = try!(file_as_string(public));