Skip to content

Better error message for juliaup self channel #819

Closed

Description

When a user runs juliaup self channel, currently they get an error message that asks them for a channel but does not provide a list of valid/available channels. As the list is and is likely to remain quite short, it would be nice to include in the error message.

x@fedora:~$ juliaup self channel
error: the following required arguments were not provided:
  <CHANNEL>

Usage: juliaup self channel <CHANNEL>

For more information, try '--help'.
x@fedora:~$ juliaup self channel nightly
Error: 'nightly' is not a valid juliaup channel, you can only specify 'release', 'releasepreview' or 'dev'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions