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 |
|
|
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", |
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'}, |
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; |
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). |