src/dird/ua_output.c
int gui_cmd(UAContext *ua, const char *cmd)
{
   static const char *kw[] = {
      NT_("on"),
      NT_("off"),
      NULL};

   switch (find_arg_keyword(ua, kw)) {
   case 0:
      ua->jcr->gui = ua->gui = true;
      break;
   case 1:
      ua->jcr->gui = ua->gui = false;
      break;
   default:
      ua->error_msg(_("ON or OFF keyword missing.\n"));
      break;
   }
   return 1;
}
/*
 * Turn GUI mode on/off
 */
Turn GUI mode on/off
Turn GUI mode on / off
int gui_cmd(UAContext *ua, const char *cmd)
{
   static const char *kw[] = {
      NT_("on"),
      NT_("off"),
      NULL};
   switch (find_arg_keyword(ua, kw)) {
   case 0:
      ua->jcr->gui = ua->gui = true;
      break;
   case 1:
      ua->jcr->gui = ua->gui = false;
      break;
   default:
      ua->error_msg(_("ON or OFF keyword missing.\n"));
      break;
   }
   return 1;
}
int gui_cmd ( UAContext * ua , const char * cmd ) { static const char * kw [ ] = { NT_ ( " " ) , NT_ ( " " ) , NULL } ; switch ( find_arg_keyword ( ua , kw ) ) { case 0 : ua -> jcr -> gui = ua -> gui = true ; break ; case 1 : ua -> jcr -> gui = ua -> gui = false ; break ; default : ua -> error_msg ( _ ( " \n " ) ) ; break ; } return 1 ; }
Turn GUI mode on/off
Turn GUI mode on / off