mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-02 05:57:46 +00:00
Merge pull request #3840 from tertsdiepraam/dir-vdir-fix-docs
`dir` & `vdir`: fix docs not showing up on the documentation website
This commit is contained in:
commit
f35dbd112b
2 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ use uucore::quoting_style::{Quotes, QuotingStyle};
|
|||
|
||||
#[uucore::main]
|
||||
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
let command = uu_ls::uu_app();
|
||||
let command = uu_app();
|
||||
|
||||
let matches = command.get_matches_from(args);
|
||||
|
||||
|
@ -64,7 +64,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
|
||||
// To avoid code duplication, we reuse ls uu_app function which has the same
|
||||
// arguments. However, coreutils won't compile if one of the utils is missing
|
||||
// an uu_app function, so we need this dummy one.
|
||||
// an uu_app function, so we return the `ls` app.
|
||||
pub fn uu_app<'a>() -> Command<'a> {
|
||||
Command::new(uucore::util_name())
|
||||
uu_ls::uu_app()
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ use uucore::quoting_style::{Quotes, QuotingStyle};
|
|||
|
||||
#[uucore::main]
|
||||
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
let command = uu_ls::uu_app();
|
||||
let command = uu_app();
|
||||
let matches = command.get_matches_from(args);
|
||||
|
||||
let mut default_quoting_style = false;
|
||||
|
@ -64,5 +64,5 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
// arguments. However, coreutils won't compile if one of the utils is missing
|
||||
// an uu_app function, so we need this dummy one.
|
||||
pub fn uu_app<'a>() -> Command<'a> {
|
||||
Command::new(uucore::util_name())
|
||||
uu_ls::uu_app()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue