Revert update to clap-beta back to structopt

Clap-beta hasn't had a release in a while and likely won't for a while longer.
We're affected by bugs that have been fixed and not released. We shouldn't be
depending on beta software anyways for this.
This commit is contained in:
Mark McCaskey
2021-06-03 07:49:32 -07:00
parent fbc56f7497
commit 6382d99ac7
16 changed files with 139 additions and 162 deletions

View File

@@ -1,17 +1,17 @@
use crate::store::StoreOptions;
use anyhow::{Context, Result};
use clap::Clap;
use std::path::PathBuf;
use structopt::StructOpt;
use wasmer::*;
#[derive(Debug, Clap)]
#[derive(Debug, StructOpt)]
/// The options for the `wasmer validate` subcommand
pub struct Validate {
/// File to validate as WebAssembly
#[clap(name = "FILE", parse(from_os_str))]
#[structopt(name = "FILE", parse(from_os_str))]
path: PathBuf,
#[clap(flatten)]
#[structopt(flatten)]
store: StoreOptions,
}