Skip to content

Help text: defaults says idle 'terminates'; notify workspace add example uses workspace-add #1132

Closed

Description

@scttfrdmn

Both seen in v0.135.0 --help, found during spore-host/spore-host#585 part 2.

  • spawn defaults --help line 11: hibernate-on-idle Hibernate instead of terminating on idle. Idle never terminates: the idle action is stop (or hibernate). It should read "Hibernate instead of stopping on idle".
  • spawn notify workspace add --help line 6: the example is spawn notify workspace-add \, the deprecated spelling. It flows into the generated docs/gen/spawn/notify.md.

A gate that resolves every spawn … example in help text against the cobra tree would catch the second. That's the generalised check proposed in the audit's phase 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions