Skip to content

Improve error messages around improperly passed arguments #252

@bboston7

Description

@bboston7

When using an option wrong (such as when passing an argument to a 0-argument flag), Supercluster sometimes will provide an error indicating that a mission doesn't exist. This came up when passing false to the (previously) 0-argument flag --catchup-skip-known-results-for-testing:

<correct supercluster command> --catchup-skip-known-results-for-testing=false
[05:39:50 ERR] Unknown mission: false

We should emit a more useful error message in cases like this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions