Merge pull request #4800 from m11o/sync-move-strings-to-md-file

sync: move help strings to markdown file
This commit is contained in:
Sylvestre Ledru 2023-04-29 09:50:17 +02:00 committed by GitHub
commit 7dd5a2fc80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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