Fossil SCM

"ls" abbrev. for "list": "fossil tag ls" == "fossil tag list"

bch 2014-08-26 19:01 trunk
Commit ce7df88f6d311bd2c0c087486311ff4b98e3baee
1 file changed +2 -2
+2 -2
--- src/tag.c
+++ src/tag.c
@@ -354,11 +354,11 @@
354354
**
355355
** List all objects that use TAGNAME. TYPE can be "ci" for
356356
** checkins or "e" for events. The limit option limits the number
357357
** of results to the given value.
358358
**
359
-** %fossil tag list ?--raw? ?CHECK-IN?
359
+** %fossil tag list|ls ?--raw? ?CHECK-IN?
360360
**
361361
** List all tags, or if CHECK-IN is supplied, list
362362
** all tags and their values for CHECK-IN.
363363
**
364364
** The option --raw allows the manipulation of all types of tags
@@ -475,11 +475,11 @@
475475
db_finalize(&q);
476476
}
477477
}
478478
}else
479479
480
- if( strncmp(g.argv[2],"list",n)==0 ){
480
+ if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){
481481
Stmt q;
482482
if( g.argc==3 ){
483483
db_prepare(&q,
484484
"SELECT tagname FROM tag"
485485
" WHERE EXISTS(SELECT 1 FROM tagxref"
486486
--- src/tag.c
+++ src/tag.c
@@ -354,11 +354,11 @@
354 **
355 ** List all objects that use TAGNAME. TYPE can be "ci" for
356 ** checkins or "e" for events. The limit option limits the number
357 ** of results to the given value.
358 **
359 ** %fossil tag list ?--raw? ?CHECK-IN?
360 **
361 ** List all tags, or if CHECK-IN is supplied, list
362 ** all tags and their values for CHECK-IN.
363 **
364 ** The option --raw allows the manipulation of all types of tags
@@ -475,11 +475,11 @@
475 db_finalize(&q);
476 }
477 }
478 }else
479
480 if( strncmp(g.argv[2],"list",n)==0 ){
481 Stmt q;
482 if( g.argc==3 ){
483 db_prepare(&q,
484 "SELECT tagname FROM tag"
485 " WHERE EXISTS(SELECT 1 FROM tagxref"
486
--- src/tag.c
+++ src/tag.c
@@ -354,11 +354,11 @@
354 **
355 ** List all objects that use TAGNAME. TYPE can be "ci" for
356 ** checkins or "e" for events. The limit option limits the number
357 ** of results to the given value.
358 **
359 ** %fossil tag list|ls ?--raw? ?CHECK-IN?
360 **
361 ** List all tags, or if CHECK-IN is supplied, list
362 ** all tags and their values for CHECK-IN.
363 **
364 ** The option --raw allows the manipulation of all types of tags
@@ -475,11 +475,11 @@
475 db_finalize(&q);
476 }
477 }
478 }else
479
480 if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){
481 Stmt q;
482 if( g.argc==3 ){
483 db_prepare(&q,
484 "SELECT tagname FROM tag"
485 " WHERE EXISTS(SELECT 1 FROM tagxref"
486

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button