Fossil SCM
"ls" abbrev. for "list": "fossil tag ls" == "fossil tag list"
Commit
ce7df88f6d311bd2c0c087486311ff4b98e3baee
Parent
cf901e536ed3f7a…
1 file changed
+2
-2
+2
-2
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -354,11 +354,11 @@ | ||
| 354 | 354 | ** |
| 355 | 355 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 356 | 356 | ** checkins or "e" for events. The limit option limits the number |
| 357 | 357 | ** of results to the given value. |
| 358 | 358 | ** |
| 359 | -** %fossil tag list ?--raw? ?CHECK-IN? | |
| 359 | +** %fossil tag list|ls ?--raw? ?CHECK-IN? | |
| 360 | 360 | ** |
| 361 | 361 | ** List all tags, or if CHECK-IN is supplied, list |
| 362 | 362 | ** all tags and their values for CHECK-IN. |
| 363 | 363 | ** |
| 364 | 364 | ** The option --raw allows the manipulation of all types of tags |
| @@ -475,11 +475,11 @@ | ||
| 475 | 475 | db_finalize(&q); |
| 476 | 476 | } |
| 477 | 477 | } |
| 478 | 478 | }else |
| 479 | 479 | |
| 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 )){ | |
| 481 | 481 | Stmt q; |
| 482 | 482 | if( g.argc==3 ){ |
| 483 | 483 | db_prepare(&q, |
| 484 | 484 | "SELECT tagname FROM tag" |
| 485 | 485 | " WHERE EXISTS(SELECT 1 FROM tagxref" |
| 486 | 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 ?--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 |