mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
Merge pull request #4800 from m11o/sync-move-strings-to-md-file
sync: move help strings to markdown file
This commit is contained in:
commit
7dd5a2fc80
2 changed files with 11 additions and 3 deletions
|
@ -19,10 +19,11 @@ use uucore::display::Quotable;
|
|||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
use uucore::error::FromIo;
|
||||
use uucore::error::{UResult, USimpleError};
|
||||
use uucore::format_usage;
|
||||
use uucore::{format_usage, help_about, help_usage};
|
||||
|
||||
const ABOUT: &str = help_about!("sync.md");
|
||||
const USAGE: &str = help_usage!("sync.md");
|
||||
|
||||
static ABOUT: &str = "Synchronize cached writes to persistent storage";
|
||||
const USAGE: &str = "{} [OPTION]... FILE...";
|
||||
pub mod options {
|
||||
pub static FILE_SYSTEM: &str = "file-system";
|
||||
pub static DATA: &str = "data";
|
||||
|
|
7
src/uu/sync/sync.md
Normal file
7
src/uu/sync/sync.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# sync
|
||||
|
||||
```
|
||||
sync [OPTION]... FILE...
|
||||
```
|
||||
|
||||
Synchronize cached writes to persistent storage
|
Loading…
Reference in a new issue