Skip to content

bug(daemon): bare ccstatusline daemon starts a foreground server instead of printing usage #51

Description

@axisrow

Bug

ccstatusline daemon with no subcommand starts the daemon as a foreground server instead of printing usage. Every other invalid/missing verb prints the usage line and exits:

usage: ccstatusline daemon [start|stop|status|restart|install|uninstall]

Repro

  1. Run ccstatusline daemon (bare).
  2. The process blocks in the foreground running the server (observed: the instance stayed alive ~2 minutes until manually stopped).
  3. Expected: print the usage line and exit non-zero, same as ccstatusline daemon bogus does.

Notes

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions