Skip to content

Commit 697d85d

Browse files
committed
kill: print signals vertically on --table
1 parent 0bc6d16 commit 697d85d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/uu/kill/src/kill.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,8 @@ fn table() {
134134
let name_width = ALL_SIGNALS.iter().map(|n| n.len()).max().unwrap();
135135

136136
for (idx, signal) in ALL_SIGNALS.iter().enumerate() {
137-
print!("{0: >#2} {1: <#2$}", idx, signal, name_width + 2);
138-
if (idx + 1) % 7 == 0 {
139-
println!();
140-
}
137+
println!("{0: >#2} {1: <#2$}", idx + 1, signal, name_width + 2);
141138
}
142-
println!();
143139
}
144140

145141
fn print_signal(signal_name_or_value: &str) -> UResult<()> {

0 commit comments

Comments
 (0)