@@ -11,55 +11,55 @@ actor! {
11
11
#[ derive( Debug ) ]
12
12
pub struct Generator {
13
13
/// The name of the product, for display
14
- #[ clap ( value_name = "NAME" ) ]
14
+ #[ arg ( value_name = "NAME" ) ]
15
15
product_name: String = "Product" ,
16
16
17
17
/// The name of the component, distinct from other installed components
18
- #[ clap ( value_name = "NAME" ) ]
18
+ #[ arg ( value_name = "NAME" ) ]
19
19
component_name: String = "component" ,
20
20
21
21
/// The name of the package, tarball
22
- #[ clap ( value_name = "NAME" ) ]
22
+ #[ arg ( value_name = "NAME" ) ]
23
23
package_name: String = "package" ,
24
24
25
25
/// The directory under lib/ where the manifest lives
26
- #[ clap ( value_name = "DIR" ) ]
26
+ #[ arg ( value_name = "DIR" ) ]
27
27
rel_manifest_dir: String = "packagelib" ,
28
28
29
29
/// The string to print after successful installation
30
- #[ clap ( value_name = "MESSAGE" ) ]
30
+ #[ arg ( value_name = "MESSAGE" ) ]
31
31
success_message: String = "Installed." ,
32
32
33
33
/// Places to look for legacy manifests to uninstall
34
- #[ clap ( value_name = "DIRS" ) ]
34
+ #[ arg ( value_name = "DIRS" ) ]
35
35
legacy_manifest_dirs: String = "" ,
36
36
37
37
/// Directory containing files that should not be installed
38
- #[ clap ( value_name = "DIR" ) ]
38
+ #[ arg ( value_name = "DIR" ) ]
39
39
non_installed_overlay: String = "" ,
40
40
41
41
/// Path prefixes of directories that should be installed/uninstalled in bulk
42
- #[ clap ( value_name = "DIRS" ) ]
42
+ #[ arg ( value_name = "DIRS" ) ]
43
43
bulk_dirs: String = "" ,
44
44
45
45
/// The directory containing the installation medium
46
- #[ clap ( value_name = "DIR" ) ]
46
+ #[ arg ( value_name = "DIR" ) ]
47
47
image_dir: String = "./install_image" ,
48
48
49
49
/// The directory to do temporary work
50
- #[ clap ( value_name = "DIR" ) ]
50
+ #[ arg ( value_name = "DIR" ) ]
51
51
work_dir: String = "./workdir" ,
52
52
53
53
/// The location to put the final image and tarball
54
- #[ clap ( value_name = "DIR" ) ]
54
+ #[ arg ( value_name = "DIR" ) ]
55
55
output_dir: String = "./dist" ,
56
56
57
57
/// The profile used to compress the tarball.
58
- #[ clap ( value_name = "FORMAT" , default_value_t) ]
58
+ #[ arg ( value_name = "FORMAT" , default_value_t) ]
59
59
compression_profile: CompressionProfile ,
60
60
61
61
/// The formats used to compress the tarball
62
- #[ clap ( value_name = "FORMAT" , default_value_t) ]
62
+ #[ arg ( value_name = "FORMAT" , default_value_t) ]
63
63
compression_formats: CompressionFormats ,
64
64
}
65
65
}
0 commit comments