mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 17:30:17 +00:00
fix(options): --help should exit with code zero
This commit is contained in:
@@ -131,7 +131,7 @@ pub trait OptionsRepresentable {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
// Exit because the help has been displayed.
|
// Exit because the help has been displayed.
|
||||||
std::process::exit(1);
|
std::process::exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert the option and the value into the map.
|
// Insert the option and the value into the map.
|
||||||
|
|||||||
Reference in New Issue
Block a user