Skip to content

Commit

Permalink
Renamed to new_user
Browse files Browse the repository at this point in the history
  • Loading branch information
bookdude13 committed May 19, 2016
1 parent fe562a5 commit 338c6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
}
Expand Down
2 changes: 1 addition & 1 deletion src/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use project_types::Project;
use Error;


pub fn user_new<P: AsRef<Path>>(project: String, public: P, name: String) -> Result<(), Error> {
pub fn new_user<P: AsRef<Path>>(project: String, public: P, name: String) -> Result<(), Error> {

// Get public key from file
let pub_key = try!(file_as_string(public));
Expand Down

0 comments on commit 338c6f4

Please sign in to comment.