cmajor-lang/cmajor

cli tool: render: `output` not found despite being provided

Closed this issue · 2 comments

TL;DR

Using cmaj render always returns ' Expected the option --output' despite providing the correct flag.

Setup

  • Arch Linux running 6.8.5-arch1-1 kernel according to uname -r
  • Cmajor version: 1.0.2454

Steps to reproduce

  • When in root of repository, execute: cmaj render --input input.wav --output output.wav ../examples/patches/ZitaReverb/ZitaReverb.cmajorpatch, assuming that input file is actually somewhere on disk.
  • Actually, just running cmaj render --help will give you the same result

Ok, just realised that cmaj render --help is not a valid flag, so disregard my last bullet point. :)

AH! Just realized that the = separator is strictly necessary for long options. see here.
My bad! Closing this..