Skip to content

Using a command that doesn't exist returns 0 (success) #987

@Frzk

Description

@Frzk

Hello,

When using scalingo with a command that doesn't exist, it exits with a return code of 0 (zero):

% scalingo whatever

% echo $?
0

% scalingo cearte
You might be looking for:
  - 'create'
  - 'integration-link-create'
  - 'integration-link-update'
  - 'integration-link-delete'
  - 'notifiers-update'
  - 'backups-create'
  - 'alerts-update'
  - 'autoscalers-update'
  - 'migration-create'
  - 'integrations-delete'
  - 'update'

% echo $?
0

I don't think it should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions