Adds an extra line on the example message
This commit is contained in:
parent
86f5226c19
commit
f62ac2fe34
|
|
@ -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"
|
||||
);
|
||||
|
|
|
|||
Reference in New Issue