We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e12357 commit b1e6015Copy full SHA for b1e6015
1 file changed
crates/openshell-cli/src/main.rs
@@ -788,7 +788,7 @@ enum GatewayCommands {
788
/// `nvidia.com/gpu` resources. Requires NVIDIA drivers and the
789
/// NVIDIA Container Toolkit on the host.
790
///
791
- /// An optional argument controls the injection mode:
+ /// An optional argument controls the injection mode (`--device` is an alias):
792
793
/// --gpu Auto-select: CDI on Docker >= 28.2.0, legacy otherwise
794
/// --gpu=legacy Force legacy nvidia DeviceRequest (specify once only)
@@ -797,6 +797,7 @@ enum GatewayCommands {
797
/// Example CDI device names: `nvidia.com/gpu=all`, `nvidia.com/gpu=0`
798
#[arg(
799
long = "gpu",
800
+ alias = "device",
801
num_args = 0..=1,
802
default_missing_value = "auto",
803
action = clap::ArgAction::Append,
0 commit comments