We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd470f4 commit 05fcfdcCopy full SHA for 05fcfdc
src/uu/pidof/src/pidof.rs
@@ -117,7 +117,6 @@ pub fn uu_app() -> Command {
117
.arg(
118
Arg::new("program-name")
119
.help("Program name.")
120
- .required(true)
121
.index(1)
122
.action(ArgAction::Append),
123
)
tests/by-util/test_pidof.rs
@@ -26,7 +26,7 @@ fn test_find_kthreadd() {
26
#[test]
27
#[cfg(target_os = "linux")]
28
fn test_no_program() {
29
- new_ucmd!().fails().code_is(1);
+ new_ucmd!().fails().code_is(1).no_output();
30
}
31
32
0 commit comments