1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #5747 from Ato2207/fix_docs

Fix docs issues.
This commit is contained in:
Sylvestre Ledru 2023-12-30 19:28:54 +01:00 committed by GitHub
commit 5fc01f718a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# more
```
more [OPTIONS] <FILE>...
more [OPTIONS] FILE...
```
Display the contents of a text file

View file

@ -29,10 +29,11 @@ const ABOUT: &str = help_about!("test.md");
// So, we use test or [ instead of {} so that the usage string is correct.
const USAGE: &str = "\
test EXPRESSION
test
[
[ EXPRESSION ]
[ ]
[ OPTION";
[ OPTION
]";
// We use after_help so that this comes after the usage string (it would come before if we used about)
const AFTER_HELP: &str = help_section!("after help", "test.md");

View file

@ -2,10 +2,11 @@
```
test EXPRESSION
test
[
[ EXPRESSION ]
[ ]
[ OPTION
]
```
Check file types and compare values.

10
src/uu/vdir/vdir.md Normal file
View file

@ -0,0 +1,10 @@
# vdir
```
vdir [OPTION]... [FILE]...
```
List directory contents.
Ignore files and directories starting with a '.' by default.
Mandatory arguments to long options are mandatory for short options too.