[GH-ISSUE #85] Usage is incomplete in commands #681

Closed
opened 2026-03-15 08:49:12 +03:00 by kerem · 1 comment
Owner

Originally created by @vitorgalvao on GitHub (Mar 8, 2015).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/85

Only rec works with -h; all the others give a strange output of Usage of <command>: with no more text.

The top line should either read Options for <command>:, with This command doesn’t take any flags when appropriate, or each of them should have a first line of example usage (repeating the main help) followed by the flag options.

Alternatively, and likely the best option, the main help could just show all the commands. It isn’t that overwhelming, and little is gained (but a lot lost, including in simplicity) by breaking up the help.

On asciinema 1.0.0.rc1.

Originally created by @vitorgalvao on GitHub (Mar 8, 2015). Original GitHub issue: https://github.com/asciinema/asciinema/issues/85 Only `rec` works with `-h`; all the others give a strange output of `Usage of <command>:` with no more text. The top line should either read `Options for <command>:`, with `This command doesn’t take any flags` when appropriate, or each of them should have a first line of example usage (repeating the main help) followed by the flag options. Alternatively, and likely the best option, the main help could just show all the commands. It isn’t that overwhelming, and little is gained (but a lot lost, including in simplicity) by breaking up the help. On asciinema 1.0.0.rc1.
kerem closed this issue 2026-03-15 08:49:17 +03:00
Author
Owner

@vitorgalvao commented on GitHub (Mar 8, 2015):

Closing, as it seems to have already been addressed. Perhaps homebrew isn’t downloading the correct package. It seems the version in the releases page is a bit older (and it’s the one downloaded with homebrew and the -devel flag).

<!-- gh-comment-id:77744605 --> @vitorgalvao commented on GitHub (Mar 8, 2015): Closing, as it seems to have [already been addressed](https://github.com/asciinema/asciinema/blob/ce34fede05bc5cd59dbeaf0eb6ac7a5448e832ae/main.go#L18-40). Perhaps homebrew isn’t downloading the correct package. It seems the version in [the releases page](https://github.com/asciinema/asciinema/releases) is a bit older (and it’s the one downloaded with homebrew and the `-devel` flag).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#681
No description provided.