We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d630e13 commit f508d4bCopy full SHA for f508d4b
src/cli.rs
@@ -271,9 +271,9 @@ pub enum RunError {
271
RunDeploy(#[from] RunDeployError),
272
}
273
274
-pub async fn run(args: Option<&ArgMatches>) -> Result<(), RunError> {
+pub async fn run(args: Option<Opts>) -> Result<(), RunError> {
275
let opts = match args {
276
- Some(o) => <Opts as FromArgMatches>::from_arg_matches(o).unwrap_or_default(),
+ Some(o) => o,
277
None => Opts::parse(),
278
};
279
0 commit comments