diff options
Diffstat (limited to 'mnv/ci/if_ver-cmd.mnv')
| -rw-r--r-- | mnv/ci/if_ver-cmd.mnv | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mnv/ci/if_ver-cmd.mnv b/mnv/ci/if_ver-cmd.mnv new file mode 100644 index 0000000000..ac5d82a054 --- /dev/null +++ b/mnv/ci/if_ver-cmd.mnv @@ -0,0 +1,12 @@ +" Provide 'PrintVer' command to print the interface versions. + +func s:print_ver(lang, ...) + if has(a:lang) + exec a:lang join(a:000) + else + echo 'N/A' + endif + echo '' +endfunc + +command -nargs=+ PrintVer call <SID>print_ver(<f-args>) |
