tower-cli icon indicating copy to clipboard operation
tower-cli copied to clipboard

When specifying options in the wrong place, unknown option error returned

Open jason-seqera opened this issue 1 year ago • 0 comments

I ran the following:

/usr/local/bin/tw launch rnaseq -v
Unknown option: '-v'

Then I realized that -v must come first, before any commands; But at first, I thought maybe verbose wasn't available/implemented because of the error.

Would it make sense to:

  • Allow options to be specified anywhere, or
  • Emit an error that says that the option was provided in the wrong part of the command?

jason-seqera avatar Aug 10 '23 21:08 jason-seqera