nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/opts: clients of `errors` use `join("\n")`
[nit.git]
/
lib
/
privileges
/
examples
/
drop_privileges.nit
diff --git
a/lib/privileges/examples/drop_privileges.nit
b/lib/privileges/examples/drop_privileges.nit
index
932a87b
..
a35ca17
100644
(file)
--- a/
lib/privileges/examples/drop_privileges.nit
+++ b/
lib/privileges/examples/drop_privileges.nit
@@
-28,7
+28,7
@@
opts.add_option(opt_ug)
# parse and check command line options
opts.parse(args)
if not opts.errors.is_empty then
- print opts.errors
+ print opts.errors.join("\n")
print "Usage: drop_privileges [options]"
opts.usage
exit 1