Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2314048
  • 博文数量: 527
  • 博客积分: 10343
  • 博客等级: 上将
  • 技术积分: 5565
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-26 23:05
文章分类

全部博文(527)

文章存档

2014年(4)

2012年(13)

2011年(19)

2010年(91)

2009年(136)

2008年(142)

2007年(80)

2006年(29)

2005年(13)

我的朋友

分类: WINDOWS

2009-02-19 16:56:43

不止一次在cvs log命令中使用 -r tag_name  这样的形式, 在log和rlog中, -r与后面的revision号, 或tag/branch名字之间, 不能有空格.

其它命令呢? 下面的命令显示, CVSNT 2.5.01 中, 仅有log rlog这两个命令如此要求, 对于其它命令, 根据经验, -r与后面的参数之间的空格是可选的.

[zhao@zhaorufei dir] for i in $(cvs --help-commands 2>&1 | awk '/^/{print $1}'); do cvs -H $i 2>&1 | grep "^Usage.*-r"; done

Usage: cvs annotate [-lRf] [-r rev] [-D date] [files...]
Usage: cvs chacl [-R] [-r branch] [-u user] [-j branch] [-n] [-p priority] [-m message] [-a [no]{read|write|create|tag|control|all
|none}[,...]] [-d] [file or directory...]
Usage: cvs export [-NRfln] [-r rev] [-D date] [-d dir] [-k kopt] module...
Usage: cvs history [-report] [-flags] [-options args] [files...]
Usage: cvs init [-f] [-n] [-r remote_root] [-a alias] [-d description]
Usage: cvs info [-c|-s|-b|-r server] [cvswrappers|cvsignore|config|]
Usage: cvs log [-lRhtNbT] [-r[revisions]] [-B bugid] [-d dates] [-s states]
Usage: cvs ls [-q] [-e] [-l] [-R] [-r rev] [-D date] [-t] [modules...]
Usage: cvs passwd [-a] [-x] [-X] [-r real_user] [-R] [-D domain] [username]
Usage: cvs rannotate [-lRf] [-r rev] [-D date] [files...]
Usage: cvs rchacl [-R] [-r branch] [-u user] [-j branch] [-n] [-p priority] [-m message] [-a [no]{read|write|create|tag|control|al
l|none}[,...]] [-d] [module...]
Usage: cvs rlog [-lRhtNbT] [-r[revisions]] [-B bugid] [-d dates] [-s states]
Usage: cvs rtag [-abdFflnR] [-r rev|-D date] tag modules...
Usage: cvs tag [-bcdFflR] [-r rev|-D date] tag [files...]
Usage: cvs unedit [-lRwy] [-r] [-u user] [-b bug] [-m message] [files...]
Usage: cvs update [-ACPdflRpbmt] [-k kopt] [-r rev] [-D date] [-j rev]
阅读(665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~