Skip to content

Commit

Permalink
add space in help output
Browse files Browse the repository at this point in the history
  • Loading branch information
benj-fry-sf committed Oct 5, 2017
1 parent 1401faa commit 81cae1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ impl<'a> Help<'a> {
let h_w = str_width(h) + str_width(&*spec_vals);
let nlh = self.next_line_help || arg.is_set(ArgSettings::NextLineHelp);
let taken = self.longest + 12;
self.force_next_line = !nlh && self.term_w >= taken &&
(taken as f32 / self.term_w as f32) > 0.40 &&
h_w > (self.term_w - taken);
self.force_next_line = !nlh && self.term_w >= taken
&& (taken as f32 / self.term_w as f32) > 0.40
&& h_w > (self.term_w - taken);

debug!("Help::val: Has switch...");
if arg.has_switch() {
Expand Down Expand Up @@ -512,7 +512,7 @@ impl<'a> Help<'a> {
env.1
);
spec_vals.push(format!(
" [env:{}:{}]",
" [env:{}: {}]",
env.0.to_string_lossy(),
env.1.to_string_lossy()
));
Expand Down

0 comments on commit 81cae1f

Please sign in to comment.