home
/
code
/
dups.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66266c
)
Fix indentation
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 14 Nov 2018 17:39:31 +0000
(12:39 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 14 Nov 2018 17:39:31 +0000
(12:39 -0500)
dups.ml
patch
|
blob
|
blame
|
history
diff --git
a/dups.ml
b/dups.ml
index
46e8b91
..
e88d888
100644
(file)
--- a/
dups.ml
+++ b/
dups.ml
@@
-112,12
+112,14
@@
let main input =
let () =
let input = ref Paths_on_stdin in
- Arg.parse [] (fun path ->
- if Sys.file_exists path then
- input := Root_path path
- else begin
- eprintf "File does not exist: %S\n%!" path;
- exit 1
- end
- ) "";
+ Arg.parse
+ []
+ (function
+ | path when Sys.file_exists path ->
+ input := Root_path path
+ | path ->
+ eprintf "File does not exist: %S\n%!" path;
+ exit 1
+ )
+ "";
main !input
This page took
0.026554 seconds
and
4
git commands to generate.