arch: move help strings to a markdown file (#4373)

Co-authored-by: zleyyij <zleyyi@users.noreply.github.com>
This commit is contained in:
zleyyij
2023-02-22 16:50:27 +01:00
committed by GitHub
co-authored by zleyyij
parent 29a25a6c85
commit b70131f148
2 changed files with 17 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
# arch
```
arch
```
Display machine architecture
## After Help
Determine architecture name for current machine.
+3 -2
View File
@@ -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<()> {