mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #4395 from papparapa/kill-move-help-strings-to-md-file
kill: move help strings to markdown file
This commit is contained in:
commit
cc0a77d357
2 changed files with 10 additions and 3 deletions
7
src/uu/kill/kill.md
Normal file
7
src/uu/kill/kill.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# kill
|
||||
|
||||
```
|
||||
kill [OPTIONS]... PID...
|
||||
```
|
||||
|
||||
Send signal to processes or list information about signals.
|
|
@ -14,10 +14,10 @@ use std::io::Error;
|
|||
use uucore::display::Quotable;
|
||||
use uucore::error::{FromIo, UError, UResult, USimpleError};
|
||||
use uucore::signals::{signal_by_name_or_value, ALL_SIGNALS};
|
||||
use uucore::{format_usage, show};
|
||||
use uucore::{format_usage, help_about, help_usage, show};
|
||||
|
||||
static ABOUT: &str = "Send signal to processes or list information about signals.";
|
||||
const USAGE: &str = "{} [OPTIONS]... PID...";
|
||||
static ABOUT: &str = help_about!("kill.md");
|
||||
const USAGE: &str = help_usage!("kill.md");
|
||||
|
||||
pub mod options {
|
||||
pub static PIDS_OR_SIGNALS: &str = "pids_or_signals";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue