code: def __argv_flag_dec(func, default=False, quiet=QUIET, indent=False):
      
      from utool import util_decor
      flagname = meta_util_six.get_funcname(func)
      if flagname.find('no') == 0:
          flagname = flagname[2:]
  
      flags = (
          '--' + flagname.replace('_', '-'),
          '--' + flagname,
      )
  
      @util_decor.ignores_exc_tb(outer_wrapper=False)
      def GaurdWrapper(*args, **kwargs):
          from utool import util_print
          # FIXME: the --print-all is a hack
          default_ = kwargs.pop('default', default)
          alias_flags = kwargs.pop('alias_flags', [])
          is_flagged = (get_argflag(flags, default_) or
                        get_argflag('--print-all') or
                        any([get_argflag(_) for _ in alias_flags]))
          if flagname in kwargs:
              is_flagged = kwargs.pop(flagname)
          if is_flagged:
              func_label = flags[0].replace('--', '').replace('print-', '')
              # print('')
              print('\n+ --- ' + func_label + ' ___')
              use_indent = indent is not False
              if indent is True:
                  indent_ = '[%s]' % func_label
              else:
                  indent_ = indent
              with util_print.Indenter(indent_, enabled=use_indent):
                  ret = func(*args, **kwargs)
              print('L ___ ' + func_label + '___\n')
              return ret
          else:
              PRINT_DISABLED_FLAGDEC = not get_argflag(
                  '--noinform', help_='does not print disabled flag decorators')
              if not quiet and PRINT_DISABLED_FLAGDEC:
                  #print('\n~~~ %s ~~~' % flag)
                  print('~~~ %s ~~~' % flags[0])
      meta_util_six.set_funcname(GaurdWrapper, meta_util_six.get_funcname(func))
      return GaurdWrapper
docs: Logic for controlling if a function gets called based on command line