na4zagin3/satyrographos

version subcommand gives debug-message-ish output

zeptometer opened this issue · 1 comments

When I ran satyrographos version, I got the following output.

$ satyrographos version
((username"")(hostname"")(kernel"")(build_time(1970-01-01 09:00:00.000000+09:00))(x_library_inlining false)(portable_int63 true)(dynlinkable_code false)(ocaml_version"")(executable_path"")(build_system""))
0.0.2.8

The first line looks like a debug message and not really expected.

Environment

  • satyrographos 0.0.2.8
  • ocaml 4.11.1
  • opam 2.0.5
  • Ubuntu 20.04.1 on WSL 2

When running satyrographos version in the Docker image amutake/satysfi:0.0.6-opam-slim, I got the following error. Looks related.

Error parsing command line:

  (Sys_error "/etc/localtime: No such file or directory")

For usage information, run

  satyrographos version -help