Skip to content

Commit

Permalink
Small chore
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpryer committed Nov 21, 2023
1 parent 77986e4 commit 81910e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions crates/huak-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ enum Commands {

#[derive(Subcommand)]
enum Python {
/// Install a Python interpreter.
Install {
/// The version of Python to install.
#[arg(required = true)]
version: RequestedVersion,
},
/// List available Python interpreters.
List,
/// Use an available Python interpreter.
Expand All @@ -186,12 +192,6 @@ enum Python {
#[arg(required = true)]
version: RequestedVersion,
},
/// Install a Python interpreter.
Install {
/// The version of Python to install.
#[arg(required = true)]
version: RequestedVersion,
},
}

#[derive(Subcommand)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Manage Python installations
Usage: huak python [OPTIONS] <COMMAND>

Commands:
install Install a Python interpreter
list List available Python interpreters
use Use an available Python interpreter
install Install a Python interpreter
help Print this message or the help of the given subcommand(s)

Options:
Expand Down

0 comments on commit 81910e8

Please sign in to comment.