Skip to content

Commit 7641614

Browse files
committed
Require --wit flag
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
1 parent bd2a8dc commit 7641614

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/targets.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ use wac_types::{ExternKind, ItemKind, Package, SubtypeChecker, Types, WorldId};
1010
#[derive(Args)]
1111
#[clap(disable_version_flag = true)]
1212
pub struct TargetsCommand {
13-
/// The path to the component
13+
/// The path to the component.
1414
#[clap(value_name = "COMPONENT_PATH")]
1515
pub component: PathBuf,
16-
/// The path to the WIT definition
17-
#[clap(value_name = "WIT_PATH")]
16+
/// The path to the WIT definition containing the world to target.
17+
#[clap(long, value_name = "WIT_PATH")]
1818
pub wit: PathBuf,
1919
/// The name of the world to target
2020
///

0 commit comments

Comments
 (0)