rm alias for remove
This commit is contained in:
		
							parent
							
								
									07a460d875
								
							
						
					
					
						commit
						48f04ab3d6
					
				| @ -100,7 +100,7 @@ $ rnote list --category | |||||||
| It will prompt you to enter category name. | It will prompt you to enter category name. | ||||||
| 
 | 
 | ||||||
| ### Remove notes | ### Remove notes | ||||||
| `rnote remove` can be simplified by `rnote r`.\ | `rnote remove` can be simplified by `rnote r` or `rnote rm`.\ | ||||||
| To delete a note, you can simply type: | To delete a note, you can simply type: | ||||||
| ``` | ``` | ||||||
| $ rnote remove | $ rnote remove | ||||||
|  | |||||||
| @ -25,6 +25,7 @@ pub fn make_app() -> App<'static, 'static> { | |||||||
|         .subcommand( |         .subcommand( | ||||||
|             SubCommand::with_name("remove") |             SubCommand::with_name("remove") | ||||||
|                 .alias("r") |                 .alias("r") | ||||||
|  |                 .alias("rm") | ||||||
|                 .about("Remove a note.") |                 .about("Remove a note.") | ||||||
|                 .arg(Arg::with_name("header").help("Name of the note.")) |                 .arg(Arg::with_name("header").help("Name of the note.")) | ||||||
|                 .arg( |                 .arg( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fiplox
						fiplox