Deprecate get_args and get_args_from
This commit is contained in:
parent
7d523dfcf0
commit
9c1b65e712
|
@ -118,10 +118,12 @@ pub fn clear_screen() {
|
|||
let _ = Command::new("tput").arg("reset").status();
|
||||
}
|
||||
|
||||
#[deprecated(since = "1.15.0", note = "this will be removed from the library API. use the builder")]
|
||||
pub fn get_args() -> error::Result<Args> {
|
||||
get_args_impl(None::<&[&str]>)
|
||||
}
|
||||
|
||||
#[deprecated(since = "1.15.0", note = "this will be removed from the library API. use the builder")]
|
||||
pub fn get_args_from<I, T>(from: I) -> error::Result<Args>
|
||||
where
|
||||
I: IntoIterator<Item = T>,
|
||||
|
|
Loading…
Reference in New Issue