Merge pull request #4824 from m11o/fix-chgrp-markdown-file

fix help message in chgrp
This commit is contained in:
Daniel Hofstetter 2023-05-04 07:57:46 +02:00 committed by GitHub
commit 249b80abff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
``` ```
chgrp [OPTION]... GROUP FILE... chgrp [OPTION]... GROUP FILE...
[OPTION]... --reference=RFILE FILE... chgrp [OPTION]... --reference=RFILE FILE...
``` ```
Change the group of each FILE to GROUP. Change the group of each FILE to GROUP.

View file

@ -18,7 +18,7 @@ use clap::{crate_version, Arg, ArgAction, ArgMatches, Command};
use std::fs; use std::fs;
use std::os::unix::fs::MetadataExt; use std::os::unix::fs::MetadataExt;
static ABOUT: &str = help_about!("chgrp.md"); const ABOUT: &str = help_about!("chgrp.md");
const USAGE: &str = help_usage!("chgrp.md"); const USAGE: &str = help_usage!("chgrp.md");
fn parse_gid_and_uid(matches: &ArgMatches) -> UResult<(Option<u32>, Option<u32>, IfFrom)> { fn parse_gid_and_uid(matches: &ArgMatches) -> UResult<(Option<u32>, Option<u32>, IfFrom)> {