repo.or.cz
/
ouch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #217 from Crypto-Spartan/zip-mem-warnings
[ouch.git]
/
src
/
main.rs
blob
eb886f95b453b84dfe7eb475909b1de115b2612f
1
use ouch::{commands, Opts, Result};
2
3
fn main() {
4
if let Err(err) = run() {
5
println!("{}", err);
6
std::process::exit(ouch::EXIT_FAILURE);
7
}
8
}
9
10
fn run() -> Result<()> {
11
let (args, skip_questions_positively) = Opts::parse_args()?;
12
commands::run(args, skip_questions_positively)
13
}