Skip to content

Commit 2a46374

Browse files
authored
Merge 22a6a50 into b708c40
2 parents b708c40 + 22a6a50 commit 2a46374

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

exports/pdu.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Width of the visualization
8686
Cannot be used with \fB\-\-column\-width\fR.
8787
.RE
8888
.TP
89-
\fB\-\-column\-width\fR \fI<TREE_WIDTH>\fR\fI \fR\fI<BAR_WIDTH>\fR
89+
\fB\-\-column\-width\fR \fI<TREE_WIDTH>\fR \fI<BAR_WIDTH>\fR
9090
Maximum widths of the tree column and width of the bar column
9191
.RS
9292
.PP

src/man_page.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ fn render_value_hint(arg: &Arg) -> String {
230230
} else {
231231
parts.push(format!("\\fI<{}>\\fR", roff_escape(arg.get_id().as_str())));
232232
}
233-
let value_part = parts.join("\\fI \\fR");
233+
let value_part = parts.join(" ");
234234
let defaults: Vec<_> = arg
235235
.get_default_values()
236236
.iter()

tests/sync_man_page.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
55
// Since the CLI in Windows looks a little different, and I am way too lazy to make two versions
66
// of man page files, the following test would only run in UNIX-like environment.
7-
#![cfg(unix)]
87
#![cfg(feature = "cli")]
98

109
use parallel_disk_usage::man_page::render_man_page;
1110

1211
#[test]
12+
#[cfg_attr(not(unix), ignore = "man page test only runs on Unix-like platforms")]
1313
fn man_page() {
1414
let received = render_man_page();
1515
let expected = include_str!("../exports/pdu.1");

0 commit comments

Comments
 (0)