Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn config_validator<'a>() -> V::Structure<'a> {
V::Structure::new()
.member("minimum_vagga", MinimumVagga::new()
.optional()
.current_version(env!("VAGGA_VERSION").to_string()))
.current_version(env!("CARGO_PKG_VERSION").to_string()))
.member("mixins", V::Sequence::new(V::Scalar::new()))
.member("containers", V::Mapping::new(
V::Scalar::new(),
Expand Down
2 changes: 1 addition & 1 deletion src/launcher/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub fn run(input_args: Vec<String>) -> i32 {
Run `vagga` without arguments to see the list of commands.
");
ap.add_option(&["-V", "--version"],
Print(env!("VAGGA_VERSION").to_string()),
Print(env!("CARGO_PKG_VERSION").to_string()),
"Show vagga version and exit");
ap.refer(&mut set_env)
.add_option(&["-E", "--env", "--environ"], Collect,
Expand Down