mkfifo: move help strings to markdown file

This commit is contained in:
Koki Ueha 2023-03-13 15:04:46 +00:00
parent 2bcd774358
commit a480ab0694
2 changed files with 10 additions and 3 deletions

7
src/uu/mkfifo/mkfifo.md Normal file
View file

@ -0,0 +1,7 @@
# mkfifo
```
mkfifo [OPTION]... NAME...
```
Create a FIFO with the given name.

View file

@ -10,10 +10,10 @@ use libc::mkfifo;
use std::ffi::CString;
use uucore::display::Quotable;
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 ABOUT: &str = "Create a FIFO with the given name.";
static USAGE: &str = help_usage!("mkfifo.md");
static ABOUT: &str = help_about!("mkfifo.md");
mod options {
pub static MODE: &str = "mode";