You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when an undefined option is passed to cmtc or cmta, the command is silently ignored and no error is reported.
For example, let's use the cmtc set-current-course command.
On the happy path:
$ cmtc set-current-course -h
Usage: cmtc set-current-course [options]
Sets the current course to point to a directory
Help options:
--usage Print usage and exit
-h, -help, --help Print help message and exit
Other options:
-s, --directory file
$ cmtc set-current-course --directory ~/tmp/stu/lunatech-scala-2-to-scala3-course
Current course set to '/Users/ericloots/tmp/stu/lunatech-scala-2-to-scala3-course'
$ cmtc set-current-course -s ~/tmp/stu/lunatech-scala-2-to-scala3-course
Current course set to '/Users/ericloots/tmp/stu/lunatech-scala-2-to-scala3-course'
$
It appears that when an undefined option is passed to
cmtc
orcmta
, the command is silently ignored and no error is reported.For example, let's use the
cmtc set-current-course
command.On the happy path:
Now, when mistyping the option (long or short):
The text was updated successfully, but these errors were encountered: