mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
arch: move help strings to a markdown file (#4373)
Co-authored-by: zleyyij <zleyyi@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# arch
|
||||
|
||||
```
|
||||
arch
|
||||
```
|
||||
|
||||
|
||||
Display machine architecture
|
||||
|
||||
|
||||
## After Help
|
||||
|
||||
Determine architecture name for current machine.
|
||||
|
||||
@@ -10,9 +10,10 @@ use platform_info::*;
|
||||
|
||||
use clap::{crate_version, Command};
|
||||
use uucore::error::{FromIo, UResult};
|
||||
use uucore::{help_about, help_section};
|
||||
|
||||
static ABOUT: &str = "Display machine architecture";
|
||||
static SUMMARY: &str = "Determine architecture name for current machine.";
|
||||
static ABOUT: &str = help_about!("arch.md");
|
||||
static SUMMARY: &str = help_section!("after help", "arch.md");
|
||||
|
||||
#[uucore::main]
|
||||
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
|
||||
Reference in New Issue
Block a user