/[cvs]/ccvs/src/main.c
ViewVC logotype

Diff of /ccvs/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.262.4.1 by dprice, Thu Oct 20 21:33:10 2005 UTC revision 1.262.4.2 by dprice, Thu Dec 8 20:49:45 2005 UTC
# Line 47  int trace = 0; Line 47  int trace = 0;
47  int noexec = 0;  int noexec = 0;
48  int readonlyfs = 0;  int readonlyfs = 0;
49  int logoff = 0;  int logoff = 0;
50    bool suppress_bases = false;
51    
52    
53    
# Line 297  static const char *const opt_usage[] = Line 298  static const char *const opt_usage[] =
298      "    -d CVS_root  Overrides $CVSROOT as the root of the CVS tree.\n",      "    -d CVS_root  Overrides $CVSROOT as the root of the CVS tree.\n",
299      "    -f           Do not use the ~/.cvsrc file.\n",      "    -f           Do not use the ~/.cvsrc file.\n",
300  #ifdef CLIENT_SUPPORT  #ifdef CLIENT_SUPPORT
301        "    -B           Suppress use of base files.\n",
302      "    -z #         Request compression level '#' for net traffic.\n",      "    -z #         Request compression level '#' for net traffic.\n",
303  #ifdef ENCRYPTION  #ifdef ENCRYPTION
304      "    -x           Encrypt all net traffic.\n",      "    -x           Encrypt all net traffic.\n",
# Line 528  main (int argc, char **argv) Line 530  main (int argc, char **argv)
530      int help = 0;               /* Has the user asked for help?  This      int help = 0;               /* Has the user asked for help?  This
531                                     lets us support the `cvs -H cmd'                                     lets us support the `cvs -H cmd'
532                                     convention to give help for cmd. */                                     convention to give help for cmd. */
533      static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xag::G:";      static const char short_options[] = "+QBqrwtnRvb:T:e:d:Hfz:s:xag::G:";
534      static struct option long_options[] =      static struct option long_options[] =
535      {      {
536          {"help", 0, NULL, 'H'},          {"help", 0, NULL, 'H'},
# Line 790  distribution kit for a complete list of Line 792  distribution kit for a complete list of
792                   * `cvs -z -n up' which read -n as the argument to -z without                   * `cvs -z -n up' which read -n as the argument to -z without
793                   * complaining.  */                   * complaining.  */
794                  break;                  break;
795                case 'B':
796                    suppress_bases = true;
797                    break;
798              case 's':              case 's':
799                  variable_set (optarg);                  variable_set (optarg);
800                  break;                  break;
# Line 923  cause intermittent sandbox corruption.") Line 928  cause intermittent sandbox corruption.")
928                         CVSUMASK_ENV, cp);                         CVSUMASK_ENV, cp);
929          }          }
930    
931            if (getenv (CVSNOBASES_ENV))
932                suppress_bases = true;
933    
934          /* HOSTNAME & SERVER_HOSTNAME need to be set before they are          /* HOSTNAME & SERVER_HOSTNAME need to be set before they are
935           * potentially used in gserver_authenticate_connection() (called from           * potentially used in gserver_authenticate_connection() (called from
936           * pserver_authenticate_connection, below).           * pserver_authenticate_connection, below).

Legend:
Removed from v.1.262.4.1  
changed lines
  Added in v.1.262.4.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26