Skip to content

Commit c724e97

Browse files
committed
fix resolve old requires references
1 parent 827a99c commit c724e97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: src/bin/activate.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ enum SubCommand {
4848

4949
/// Activate a profile
5050
#[derive(Parser, Debug)]
51-
#[group(required = true, multiple = false, args = &["profile-path","profile-user"])]
51+
#[group(required = true, multiple = false, args = &["profile_path","profile_user"])]
5252
struct ActivateOpts {
5353
/// The closure to activate
5454
closure: String,
5555
/// The profile path to install into
5656
#[arg(long)]
5757
profile_path: Option<String>,
5858
/// The profile user if explicit profile path is not specified
59-
#[arg(long, requires = "profile-name")]
59+
#[arg(long, requires = "profile_name")]
6060
profile_user: Option<String>,
6161
/// The profile name
62-
#[arg(long, requires = "profile-user")]
62+
#[arg(long, requires = "profile_user")]
6363
profile_name: Option<String>,
6464

6565
/// Maximum time to wait for confirmation after activation
@@ -109,10 +109,10 @@ struct RevokeOpts {
109109
#[arg(long)]
110110
profile_path: Option<String>,
111111
/// The profile user if explicit profile path is not specified
112-
#[arg(long, requires = "profile-name")]
112+
#[arg(long, requires = "profile_name")]
113113
profile_user: Option<String>,
114114
/// The profile name
115-
#[arg(long, requires = "profile-user")]
115+
#[arg(long, requires = "profile_user")]
116116
profile_name: Option<String>,
117117
}
118118

0 commit comments

Comments
 (0)