optimizations #161
@ -61,6 +61,8 @@ fn main() -> ExitCode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if argv.len() == 1 { return ExitCode::from(usage(&argv[0])); }
|
||||||
|
|
||||||
while let Some(opt) = argv.getopt("d:") {
|
while let Some(opt) = argv.getopt("d:") {
|
||||||
match opt.opt() {
|
match opt.opt() {
|
||||||
Ok("d") => {
|
Ok("d") => {
|
||||||
|
@ -24,6 +24,7 @@ fop_fail: $(BIN)/fop
|
|||||||
! printf 'test\n' | $(BIN)/fop 1 cat
|
! printf 'test\n' | $(BIN)/fop 1 cat
|
||||||
! printf 'test\n' | $(BIN)/fop 'test' cat
|
! printf 'test\n' | $(BIN)/fop 'test' cat
|
||||||
! printf 'test\n' | $(BIN)/fop -d'test' cat
|
! printf 'test\n' | $(BIN)/fop -d'test' cat
|
||||||
|
! $(BIN)/fop
|
||||||
|
|
||||||
.PHONY: fop_functionality
|
.PHONY: fop_functionality
|
||||||
fop_functionality: $(BIN)/fop
|
fop_functionality: $(BIN)/fop
|
||||||
|
Loading…
Reference in New Issue
Block a user