From 7eec383deab70450525910e41987fd2683e635f8 Mon Sep 17 00:00:00 2001 From: Jake Urban <10968980+JakeUrban@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:42:21 -0700 Subject: [PATCH] Update completions to use stellar instead of soroban (#1358) --- FULL_HELP_DOCS.md | 4 ++-- cmd/soroban-cli/src/commands/completion.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FULL_HELP_DOCS.md b/FULL_HELP_DOCS.md index 8fecf7d73..4e3219e90 100644 --- a/FULL_HELP_DOCS.md +++ b/FULL_HELP_DOCS.md @@ -136,10 +136,10 @@ Ensure the completion package for your shell is installed, e.g., bash-completion for bash. To enable autocomplete in the current bash shell, run: - source <(soroban completion --shell bash) + source <(stellar completion --shell bash) To enable autocomplete permanently, run: - echo "source <(soroban completion --shell bash)" >> ~/.bashrc + echo "source <(stellar completion --shell bash)" >> ~/.bashrc **Usage:** `stellar completion --shell ` diff --git a/cmd/soroban-cli/src/commands/completion.rs b/cmd/soroban-cli/src/commands/completion.rs index f64386b4b..8bd1922d2 100644 --- a/cmd/soroban-cli/src/commands/completion.rs +++ b/cmd/soroban-cli/src/commands/completion.rs @@ -11,10 +11,10 @@ Ensure the completion package for your shell is installed, e.g., bash-completion for bash. To enable autocomplete in the current bash shell, run: - source <(soroban completion --shell bash) + source <(stellar completion --shell bash) To enable autocomplete permanently, run: - echo \"source <(soroban completion --shell bash)\" >> ~/.bashrc"; + echo \"source <(stellar completion --shell bash)\" >> ~/.bashrc"; #[derive(Parser, Debug, Clone)] #[group(skip)] @@ -27,6 +27,6 @@ pub struct Cmd { impl Cmd { pub fn run(&self) { let cmd = &mut Root::command(); - generate(self.shell, cmd, "soroban", &mut io::stdout()); + generate(self.shell, cmd, "stellar", &mut io::stdout()); } }