Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exports/pdu.1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Width of the visualization
Cannot be used with \fB\-\-column\-width\fR.
.RE
.TP
\fB\-\-column\-width\fR \fI<TREE_WIDTH>\fR\fI \fR\fI<BAR_WIDTH>\fR
\fB\-\-column\-width\fR \fI<TREE_WIDTH>\fR \fI<BAR_WIDTH>\fR
Maximum widths of the tree column and width of the bar column
.RS
.PP
Expand Down
2 changes: 1 addition & 1 deletion src/man_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fn render_value_hint(arg: &Arg) -> String {
} else {
parts.push(format!("\\fI<{}>\\fR", roff_escape(arg.get_id().as_str())));
}
let value_part = parts.join("\\fI \\fR");
let value_part = parts.join(" ");
let defaults: Vec<_> = arg
.get_default_values()
.iter()
Expand Down
2 changes: 1 addition & 1 deletion tests/sync_man_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

// Since the CLI in Windows looks a little different, and I am way too lazy to make two versions
// of man page files, the following test would only run in UNIX-like environment.
#![cfg(unix)]
#![cfg(feature = "cli")]

use parallel_disk_usage::man_page::render_man_page;

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