xtask: fix lint errors due to clap changes

pull/321/head
Davide Bertola 2 years ago
parent cbf520934a
commit 2680693783

@ -54,21 +54,21 @@ impl std::fmt::Display for Architecture {
#[derive(Parser)] #[derive(Parser)]
pub struct Options { pub struct Options {
#[clap(long)] #[clap(long, action)]
libbpf_dir: PathBuf, libbpf_dir: PathBuf,
// sysroot options. Default to ubuntu headers installed by the // sysroot options. Default to ubuntu headers installed by the
// libc6-dev-{arm64,armel}-cross packages. // libc6-dev-{arm64,armel}-cross packages.
#[clap(long, default_value = "/usr/include/x86_64-linux-gnu")] #[clap(long, default_value = "/usr/include/x86_64-linux-gnu", action)]
x86_64_sysroot: PathBuf, x86_64_sysroot: PathBuf,
#[clap(long, default_value = "/usr/aarch64-linux-gnu/include")] #[clap(long, default_value = "/usr/aarch64-linux-gnu/include", action)]
aarch64_sysroot: PathBuf, aarch64_sysroot: PathBuf,
#[clap(long, default_value = "/usr/arm-linux-gnueabi/include")] #[clap(long, default_value = "/usr/arm-linux-gnueabi/include", action)]
armv7_sysroot: PathBuf, armv7_sysroot: PathBuf,
#[clap(long, default_value = "/usr/riscv64-linux-gnu/include")] #[clap(long, default_value = "/usr/riscv64-linux-gnu/include", action)]
riscv64_sysroot: PathBuf, riscv64_sysroot: PathBuf,
#[clap(subcommand)] #[clap(subcommand)]

Loading…
Cancel
Save