summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--per.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/per.rs b/per.rs
index f6ac820..9437055 100644
--- a/per.rs
+++ b/per.rs
@@ -19,8 +19,8 @@ fn main() {
groups::optmulti("r", "rate", "Sample rate in Hz", "44100"),
groups::optopt("s", "split",
"Number of minutes at which to split MP3 files", "60"),
- groups::optflag("a",
- "Align splits as if the first one happened midnight Jan. 1, 1970", ""),
+ groups::optflag("a", "align",
+ "Align splits as if the first one happened midnight Jan. 1, 1970"),
groups::optopt("b", "bitrate", "MP3 bitrate in kbps", "128"),
groups::optopt("q", "quality", "MP3 quality", "2"),
];
@@ -31,7 +31,7 @@ fn main() {
Ok(m) => m,
Err(f) => {
println(f.to_err_msg());
- print(groups::usage("Usage: per", opts));
+ print(groups::usage("Usage: per [options]", opts));
return;
}
};