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

sync: move help strings to markdown file

This commit is contained in:
m11o 2023-04-29 15:51:55 +09:00
parent 9f9847188d
commit bc7a01dd3b
2 changed files with 11 additions and 3 deletions

View file

@ -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
View file

@ -0,0 +1,7 @@
# sync
```
sync [OPTION]... FILE...
```
Synchronize cached writes to persistent storage