Skip to content

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

Open

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.

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

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