mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #4476 from IZUMI-Zu/main
uname: move help strings to a markdown file
This commit is contained in:
@@ -14,12 +14,11 @@ use clap::{crate_version, Arg, ArgAction, Command};
|
|||||||
use platform_info::*;
|
use platform_info::*;
|
||||||
use uucore::{
|
use uucore::{
|
||||||
error::{FromIo, UResult},
|
error::{FromIo, UResult},
|
||||||
format_usage,
|
format_usage, help_about, help_usage,
|
||||||
};
|
};
|
||||||
|
|
||||||
const ABOUT: &str = r#"Print certain system information.
|
const ABOUT: &str = help_about!("uname.md");
|
||||||
With no OPTION, same as -s."#;
|
const USAGE: &str = help_usage!("uname.md");
|
||||||
const USAGE: &str = "{} [OPTION]...";
|
|
||||||
|
|
||||||
pub mod options {
|
pub mod options {
|
||||||
pub static ALL: &str = "all";
|
pub static ALL: &str = "all";
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# uname
|
||||||
|
|
||||||
|
```
|
||||||
|
uname [OPTION]...
|
||||||
|
```
|
||||||
|
|
||||||
|
Print certain system information.
|
||||||
|
With no OPTION, same as -s.
|
||||||
Reference in New Issue
Block a user