Skip to content

Conversation

@dantleech
Copy link

No description provided.


if (($action = $this->matchedSection->getAction()) === null) {
return;
return 0;
Copy link

@andytson-inviqa andytson-inviqa Mar 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do other clis do when executing a section without the command? I'd have thought it was a 1 to signify it's not a command?

Copy link
Author

@dantleech dantleech Mar 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git and composer return 1. not sure when this condition gets invoked though ws config asd asd returns 1 (invalidUsage)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but yeah, the above 2 should probably be non-zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants