summaryrefslogtreecommitdiff
path: root/src/dynamic/completer.rs
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2024-02-01 14:00:33 +0100
committerJeff Vander Stoep <jeffv@google.com>2024-02-01 14:00:34 +0100
commitfc66cf0e5917c166989360408d265133020fd510 (patch)
tree1d693e1cdf2ace296ebacf893aa7293deafa8a62 /src/dynamic/completer.rs
parentf0eba62f7c65672e37713530fe123fe47fb93921 (diff)
downloadclap_complete-fc66cf0e5917c166989360408d265133020fd510.tar.gz
Upgrade clap_complete to 4.4.9simpleperf-release
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/rust/crates/clap_complete For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I8d6c3a390a21c87aed54d0714d84d92cce39db12
Diffstat (limited to 'src/dynamic/completer.rs')
-rw-r--r--src/dynamic/completer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamic/completer.rs b/src/dynamic/completer.rs
index 8c8cb93..232dd4b 100644
--- a/src/dynamic/completer.rs
+++ b/src/dynamic/completer.rs
@@ -16,7 +16,7 @@ pub trait Completer {
completer: &str,
buf: &mut dyn std::io::Write,
) -> Result<(), std::io::Error>;
- /// Complete the command
+ /// Complete the given command
fn write_complete(
&self,
cmd: &mut clap::Command,
@@ -26,7 +26,7 @@ pub trait Completer {
) -> Result<(), std::io::Error>;
}
-/// Complete the command specified
+/// Complete the given command
pub fn complete(
cmd: &mut clap::Command,
args: Vec<std::ffi::OsString>,