mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-05 15:37:47 +00:00
change/API! ~ new_coreopts!()
=> app!()
This commit is contained in:
parent
0c4d314544
commit
fc6370e160
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ impl<'a> CoreOptions<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! new_coreopts {
|
macro_rules! app {
|
||||||
($syntax: expr, $summary: expr, $long_help: expr) => {
|
($syntax: expr, $summary: expr, $long_help: expr) => {
|
||||||
uucore::coreopts::CoreOptions::new(uucore::coreopts::HelpText {
|
uucore::coreopts::CoreOptions::new(uucore::coreopts::HelpText {
|
||||||
name: executable!(),
|
name: executable!(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue