@@ -48,18 +48,18 @@ enum SubCommand {
48
48
49
49
/// Activate a profile
50
50
#[ 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 " ] ) ]
52
52
struct ActivateOpts {
53
53
/// The closure to activate
54
54
closure : String ,
55
55
/// The profile path to install into
56
56
#[ arg( long) ]
57
57
profile_path : Option < String > ,
58
58
/// The profile user if explicit profile path is not specified
59
- #[ arg( long, requires = "profile-name " ) ]
59
+ #[ arg( long, requires = "profile_name " ) ]
60
60
profile_user : Option < String > ,
61
61
/// The profile name
62
- #[ arg( long, requires = "profile-user " ) ]
62
+ #[ arg( long, requires = "profile_user " ) ]
63
63
profile_name : Option < String > ,
64
64
65
65
/// Maximum time to wait for confirmation after activation
@@ -109,10 +109,10 @@ struct RevokeOpts {
109
109
#[ arg( long) ]
110
110
profile_path : Option < String > ,
111
111
/// The profile user if explicit profile path is not specified
112
- #[ arg( long, requires = "profile-name " ) ]
112
+ #[ arg( long, requires = "profile_name " ) ]
113
113
profile_user : Option < String > ,
114
114
/// The profile name
115
- #[ arg( long, requires = "profile-user " ) ]
115
+ #[ arg( long, requires = "profile_user " ) ]
116
116
profile_name : Option < String > ,
117
117
}
118
118
0 commit comments