Return non-zero exit code if raco pollen subcommand is unrecognized #177

Closed
opened 6 years ago by hkrish · 1 comments
hkrish commented 6 years ago (Migrated from github.com)

Hi,

Currently, an invalid sub-command such as raco pollen publsih seems to return an exit code 0 to the shell. Can you please change it so that it returns a non-zero value.

This is quite useful when wrapping pollen command in a shell script or other racket programs.

Thank you

Hi, Currently, an invalid sub-command such as `raco pollen publsih` seems to return an exit code `0` to the shell. Can you please change it so that it returns a non-zero value. This is quite useful when wrapping pollen command in a shell script or other racket programs. Thank you
mbutterick commented 6 years ago (Migrated from github.com)

Consistent with other raco commands, it will return 1 for an invalid argument.

Consistent with other `raco` commands, it will return `1` for an invalid argument.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#177
Loading…
There is no content yet.