mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
trying to update base64 for print changes
This commit is contained in:
parent
ee56d7b196
commit
1a4cc9c881
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
||||||
extern mod extra;
|
extern mod extra;
|
||||||
|
|
||||||
use std::char;
|
use std::char;
|
||||||
use std::io::{File, stdin, stdout};
|
use std::io::{println, File, stdin, stdout};
|
||||||
use std::os;
|
use std::os;
|
||||||
use std::str;
|
use std::str;
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ fn encode(input: &mut Reader, line_wrap: uint) {
|
||||||
|
|
||||||
fn help(progname: &str, usage: &str) {
|
fn help(progname: &str, usage: &str) {
|
||||||
println!("Usage: {:s} [OPTION]... [FILE]", progname);
|
println!("Usage: {:s} [OPTION]... [FILE]", progname);
|
||||||
println("");
|
println!("");
|
||||||
println(usage);
|
println(usage);
|
||||||
|
|
||||||
let msg = ~"With no FILE, or when FILE is -, read standard input.\n\n\
|
let msg = ~"With no FILE, or when FILE is -, read standard input.\n\n\
|
||||||
|
@ -149,7 +149,7 @@ fn help(progname: &str, usage: &str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn version() {
|
fn version() {
|
||||||
println("base64 1.0.0");
|
println!("base64 1.0.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Mode {
|
enum Mode {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue