diff options
Diffstat (limited to 'src/version.ml')
-rw-r--r-- | src/version.ml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/version.ml b/src/version.ml new file mode 100644 index 0000000..5f9cf6c --- /dev/null +++ b/src/version.ml @@ -0,0 +1,13 @@ +let version = "0.0.1" + +let copyright = "2016, VyOS maintainers and contributors" + +let license = "LGPL version 2 or later with OCaml linking exception" + +let version_info () = + let tmpl = + "VyConf version: %s\n" ^^ + "Copyright %s\n\n" ^^ + "This program is free software, you can use, modify, and redistribute it\n" ^^ + "under the terms of %s\n" + in Printf.sprintf tmpl version copyright license |