nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkcsrc: clear OLDNITCOPT in src/Makefile
[nit.git]
/
examples
/
drop_privileges.nit
diff --git
a/examples/drop_privileges.nit
b/examples/drop_privileges.nit
index
c1648ba
..
932a87b
100644
(file)
--- a/
examples/drop_privileges.nit
+++ b/
examples/drop_privileges.nit
@@
-21,7
+21,7
@@
import privileges
# basic command line options
var opts = new OptionContext
-var opt_ug = new OptionDropPrivileges
+var opt_ug = new OptionUserAndGroup.for_dropping_privileges
opt_ug.mandatory = true
opts.add_option(opt_ug)