mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #4506 from papparapa/mkfifo-move-help-strings-to-md-file
mkfifo: move help strings to markdown file
This commit is contained in:
commit
a07b833dc6
2 changed files with 10 additions and 3 deletions
7
src/uu/mkfifo/mkfifo.md
Normal file
7
src/uu/mkfifo/mkfifo.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# mkfifo
|
||||||
|
|
||||||
|
```
|
||||||
|
mkfifo [OPTION]... NAME...
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a FIFO with the given name.
|
|
@ -10,10 +10,10 @@ use libc::mkfifo;
|
||||||
use std::ffi::CString;
|
use std::ffi::CString;
|
||||||
use uucore::display::Quotable;
|
use uucore::display::Quotable;
|
||||||
use uucore::error::{UResult, USimpleError};
|
use uucore::error::{UResult, USimpleError};
|
||||||
use uucore::{format_usage, show};
|
use uucore::{format_usage, help_about, help_usage, show};
|
||||||
|
|
||||||
static USAGE: &str = "{} [OPTION]... NAME...";
|
static USAGE: &str = help_usage!("mkfifo.md");
|
||||||
static ABOUT: &str = "Create a FIFO with the given name.";
|
static ABOUT: &str = help_about!("mkfifo.md");
|
||||||
|
|
||||||
mod options {
|
mod options {
|
||||||
pub static MODE: &str = "mode";
|
pub static MODE: &str = "mode";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue