I just downloaded the latest nightly release and I'm trying to figure out how to use roc from the command line but I'm having a little bit of trouble:
~> roc --version
roc nightly pre-release, built from commit a6bda6e on Di 16 Mai 2023 09:07:47 UTC
~> roc -h
error: unexpected argument '-h' found
tip: to pass '-h' as a value, use '-- -h'
~> roc -- -h
The current directory (/home/mikko) does not contain a main.roc file to use as a default.
You can run `roc help` for more information on how to provide a .roc file.
~> roc --help
error: unexpected argument '--help' found
tip: to pass '--help' as a value, use '-- --help'
~> roc -- --help
The current directory (/home/mikko) does not contain a main.roc file to use as a default.
You can run `roc help` for more information on how to provide a .roc file.
~> roc help
This file was not found: /home/mikko/help
You can run `roc help` for more information on how to provide a .roc file.
is the help under a different name or is there maybe a man page or something I could read to figure out all the different options the roc
binary accepts?
ah it appears the latest nightly build is broken, I went back to the one from 15th of May and roc help
works now
Thanks for bringing this to our attention @Mikko, this is likely due to PR#5405. I'll make an issue for this.
Last updated: Jul 05 2025 at 12:14 UTC