summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2014-12-20 12:43:54 -0500
committerAndrew Gallant <jamslam@gmail.com>2014-12-20 12:43:54 -0500
commitaa4dd563ae0e5a3862ab0c643c7b0862d170e827 (patch)
tree04f5cd926b3a57a60f06215388506c4385e707f3 /src/main.rs
parente97a8afee437691ea5841782b0ff540f863ee4a4 (diff)
rust and dependency up
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index e2ef223..947e117 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -18,20 +18,20 @@ use std::os;
use docopt::Docopt;
-macro_rules! werr(
+macro_rules! werr {
($($arg:tt)*) => (
match ::std::io::stderr().write_str(format!($($arg)*).as_slice()) {
Ok(_) => (),
Err(err) => fail!("{}", err),
}
)
-)
+}
-macro_rules! fail(
+macro_rules! fail {
($e:expr) => (Err(::std::error::FromError::from_error($e)));
-)
+}
-macro_rules! command_list(
+macro_rules! command_list {
() => (
"
cat Concatenate by row or column
@@ -53,7 +53,7 @@ macro_rules! command_list(
table Align CSV data into columns
"
)
-)
+}
static USAGE: &'static str = concat!("
Usage: