mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
kata-ctl: improve command descriptions for consistency
This change improves the command descriptions for kata-ctl and can avoid certain confusions in command functionality. Fixes #5411 Signed-off-by: Tingzhou Yuan <tzyuan15@bu.edu>
This commit is contained in:
parent
d3ee8d9f1b
commit
70676d4a99
@ -16,7 +16,7 @@ pub struct KataCtlCli {
|
||||
|
||||
#[derive(Debug, Subcommand)]
|
||||
pub enum Commands {
|
||||
/// Tests if system can run Kata Containers
|
||||
/// Test if system can run Kata Containers
|
||||
Check(CheckArgument),
|
||||
|
||||
/// Directly assign a volume to Kata Containers to manage
|
||||
@ -25,13 +25,13 @@ pub enum Commands {
|
||||
/// Display settings
|
||||
Env,
|
||||
|
||||
/// Enter into guest by debug console
|
||||
/// Enter into guest VM by debug console
|
||||
Exec,
|
||||
|
||||
/// Manage vm factory
|
||||
/// Manage VM factory
|
||||
Factory,
|
||||
|
||||
/// Manages iptables
|
||||
/// Manage guest VM iptables
|
||||
Iptables(IptablesCommand),
|
||||
|
||||
/// Gather metrics associated with infrastructure used to run a sandbox
|
||||
@ -50,10 +50,10 @@ pub struct CheckArgument {
|
||||
|
||||
#[derive(Debug, Subcommand)]
|
||||
pub enum CheckSubCommand {
|
||||
/// Runs all checks
|
||||
/// Run all checks
|
||||
All,
|
||||
|
||||
/// Runs all checks but excluding network checks.
|
||||
/// Run all checks but excluding network checks.
|
||||
NoNetworkChecks,
|
||||
|
||||
/// Only compare the current and latest available versions
|
||||
|
Loading…
Reference in New Issue
Block a user