version 1.10, 2005/10/10 17:12:49 |
version 1.11, 2005/10/12 17:13:30 |
|
|
#include "rcs.h" |
#include "rcs.h" |
#include "rcsprog.h" |
#include "rcsprog.h" |
|
|
extern char *__progname; |
|
|
|
#define LOCK_LOCK 1 |
#define LOCK_LOCK 1 |
#define LOCK_UNLOCK 2 |
#define LOCK_UNLOCK 2 |
|
|
|
|
(usage)(); |
(usage)(); |
exit (1); |
exit (1); |
} |
} |
|
|
for (i = 0; i < argc; i++) { |
for (i = 0; i < argc; i++) { |
if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0) |
if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0) |
continue; |
continue; |
|
|
void |
void |
checkout_usage(void) |
checkout_usage(void) |
{ |
{ |
fprintf(stderr, "usage %s [-qV] [-l [rev]] [-r [rev]] [-u [rev]]" |
fprintf(stderr, |
" file ...\n", __progname); |
"usage: co [-qV] [-l [rev]] [-r [rev]] [-u [rev]] file ...\n"); |
} |
} |