diff --git a/src/wrapper_functions.rs b/src/wrapper_functions.rs index 90d19e7..ea6a735 100644 --- a/src/wrapper_functions.rs +++ b/src/wrapper_functions.rs @@ -280,12 +280,17 @@ pub fn create_example(_cli: &Cli) -> Result<(), SnippetError> { let mut path = config_folder()?; path.push("unique_example.yaml"); println!( -"The snippet unique_example was created. You can use the following command to launch an editor and begin editing it: - $ snp unique_example -E +"The snippet unique_example was created. You can use the following command to launch an editor and begin editing the content of the example: + $ snp unique_example -e + +Note that only the content of the text is editable in this mode, to edit the whole snippet use: + $ snp unique_example -E Once you are done with the editing, you can try using the snippet with: $ snp unique_example - +or + $ snp unique_example random parameters separated by spaces + If you wish to delete the snippet, you can use the following command: $ snp -d unique_example" );