summaryrefslogtreecommitdiffstats
path: root/src/commands/find_pkg.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-01-18 10:23:42 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-18 14:19:39 +0100
commit9aa56fcb69e53aedc20973c5c6284d3e277f92fe (patch)
tree62cd4ba8b65a4251b2d033458e50382869cb178c /src/commands/find_pkg.rs
parent0a3c5e2931f261b4476b1ab716755a356252a423 (diff)
Add comments on subcommand implementations
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/commands/find_pkg.rs')
-rw-r--r--src/commands/find_pkg.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/find_pkg.rs b/src/commands/find_pkg.rs
index 867527f..48ad31c 100644
--- a/src/commands/find_pkg.rs
+++ b/src/commands/find_pkg.rs
@@ -19,6 +19,7 @@ use crate::config::Configuration;
use crate::package::PackageVersionConstraint;
use crate::repository::Repository;
+/// Implementation of the "find_pkg" subcommand
pub async fn find_pkg(matches: &ArgMatches, config: &Configuration, repo: Repository) -> Result<()> {
use std::io::Write;