Permalink
Browse files

Fix man page names

  • Loading branch information...
jackpot51 committed Oct 14, 2017
1 parent bd0b9d4 commit fc4dec225093f1e9bc79566b192e615c8b2ccf5a
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/bin/dd.rs
  2. +1 −1 src/bin/uptime.rs
@@ -13,7 +13,7 @@ use arg_parser::ArgParser;
use coreutils::to_human_readable_string;
use extra::option::OptionalExt;
const MAN_PAGE: &'static str = /* @MANSTART{du} */ r#"
const MAN_PAGE: &'static str = /* @MANSTART{dd} */ r#"
NAME
dd - copy a file
@@ -93,7 +93,7 @@ fn main() {
stdout.write(MAN_PAGE.as_bytes()).try(&mut stderr);
stdout.flush().try(&mut stderr);
exit(0);
}
}
let bs: usize = parser.get_setting("bs").unwrap().parse::<usize>().unwrap();
let count = parser.get_setting("count").unwrap().parse::<i32>().unwrap();
@@ -11,7 +11,7 @@ use extra::option::OptionalExt;
use std::fmt::Write as FmtWrite;
use std::env;
const MAN_PAGE: &'static str = /* @MANSTART{date} */ r#"
const MAN_PAGE: &'static str = /* @MANSTART{uptime} */ r#"
NAME
uptime - show how long the system has been running

0 comments on commit fc4dec2

Please sign in to comment.