1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-20 04:47:59 +01:00

added disclaimer to convertSnip.py

This commit is contained in:
Michael Sanders
2009-04-14 18:57:49 -04:00
parent ac45382833
commit 65ce006bd0

View File

@@ -2,7 +2,7 @@
""" """
File: convertSnips.py File: convertSnips.py
Author: Michael Sanders Author: Michael Sanders
Description: Converts command-based snippets to new file-based snippet syntax. Description: Converts deprecated command-based snippets to file-based snippets.
NOTE: This is only meant to help, it is not perfect! Check the file afterwards NOTE: This is only meant to help, it is not perfect! Check the file afterwards
to make sure it's correct. to make sure it's correct.
""" """
@@ -12,6 +12,11 @@ import sys, re
def usage(): def usage():
"""Print usage message and exit.""" """Print usage message and exit."""
print """\ print """\
converSnips.py -
This is meant to help migrate old command-based snippets to file-based snippets.
It can only convert from the old, deprecated snipMate format, not from
snippetsEmu or any other snippet plugin.
Usage: convertSnips.py -h or --help Print this help and exit Usage: convertSnips.py -h or --help Print this help and exit
or: convertSnips.py [inputfile] Print .snippets file or: convertSnips.py [inputfile] Print .snippets file
or: convertSnips.py [inputfile] [outputfile] Output to file""" or: convertSnips.py [inputfile] [outputfile] Output to file"""