"""
global OPTS
OPTS, args = OPTPARSE.parse_args()
+ OPTPARSE.show_global_opts = False
## It's tempting to load the configuration here. Don't do that. Some
## contexts will want to check that the command line was handled properly
## upstream before believing it for anything, such as executing arbitrary
if ctx is None: ctx = 'userv'
else:
D.opendb()
- if ctx is None: ctx = 'admin'
+ if ctx is None:
+ ctx = 'admin'
+ OPTPARSE.show_global_opts = True
with OUT.redirect_to(O.FileOutput()):
OPTPARSE.dispatch(ctx, args)