Skip to content

error codes for gsh commands #28

@phyver

Description

@phyver

It would be nice if gsh commands returned a value: 0 for OK, or some error code.

The problem is that gsh check will also do a clean and an init.

One possibility would be to have different function used different bits in the return value:

  • lsb for check
  • bit 1 for init
  • bit 2 for test
  • bit 3 for static
  • bit 4 for goal
  • bit 5 for treasure
  • bit 6 for treasure-msg

We'll have one last bit to use for something else!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions