Skip to content

Commit

Permalink
rustfmt the code
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jan 26, 2024
1 parent d59dadc commit d7067c3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/uu/pwdx/src/pwdx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const USAGE: &str = help_usage!("pwdx.md");

#[uucore::main]
pub fn uumain(args: impl uucore::Args) -> UResult<()> {

let matches = uu_app().try_get_matches_from(args)?;

let pid_str = matches.get_one::<String>("pid").unwrap();
Expand All @@ -44,9 +43,11 @@ pub fn uu_app() -> Command {
.about(ABOUT)
.override_usage(format_usage(USAGE))
.infer_long_args(true)
.arg(Arg::new("pid")
.value_name("PID")
.help("Process ID")
.required(true)
.index(1))
.arg(
Arg::new("pid")
.value_name("PID")
.help("Process ID")
.required(true)
.index(1),
)
}

0 comments on commit d7067c3

Please sign in to comment.