Fossil SCM
Document "fossil tag --type TYPE" and "fossil timeline --count N --type TYPE"
Commit
f8e526c212a28988ea0a8839c51d74053229c761
Parent
87ac9af8c672c14…
2 files changed
+2
-2
+2
-2
+2
-2
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -348,11 +348,11 @@ | ||
| 348 | 348 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 349 | 349 | ** |
| 350 | 350 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 351 | 351 | ** the propagation of the tag to any descendants. |
| 352 | 352 | ** |
| 353 | -** %fossil tag find ?--raw? ?--type TYPE? TAGNAME | |
| 353 | +** %fossil tag find ?--raw? ?-t|--type TYPE? TAGNAME | |
| 354 | 354 | ** |
| 355 | 355 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 356 | 356 | ** checkins or "e" for events. |
| 357 | 357 | ** |
| 358 | 358 | ** %fossil tag list ?--raw? ?CHECK-IN? |
| @@ -430,11 +430,11 @@ | ||
| 430 | 430 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 431 | 431 | Stmt q; |
| 432 | 432 | const char *zType = find_option("type","t",1); |
| 433 | 433 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| 434 | 434 | if( g.argc!=4 ){ |
| 435 | - usage("find ?--raw? TAGNAME"); | |
| 435 | + usage("find ?--raw? ?-t|--type TYPE? TAGNAME"); | |
| 436 | 436 | } |
| 437 | 437 | if( fRaw ){ |
| 438 | 438 | db_prepare(&q, |
| 439 | 439 | "SELECT blob.uuid FROM tagxref, blob" |
| 440 | 440 | " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)" |
| 441 | 441 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -348,11 +348,11 @@ | |
| 348 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 349 | ** |
| 350 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 351 | ** the propagation of the tag to any descendants. |
| 352 | ** |
| 353 | ** %fossil tag find ?--raw? ?--type TYPE? TAGNAME |
| 354 | ** |
| 355 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 356 | ** checkins or "e" for events. |
| 357 | ** |
| 358 | ** %fossil tag list ?--raw? ?CHECK-IN? |
| @@ -430,11 +430,11 @@ | |
| 430 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 431 | Stmt q; |
| 432 | const char *zType = find_option("type","t",1); |
| 433 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| 434 | if( g.argc!=4 ){ |
| 435 | usage("find ?--raw? TAGNAME"); |
| 436 | } |
| 437 | if( fRaw ){ |
| 438 | db_prepare(&q, |
| 439 | "SELECT blob.uuid FROM tagxref, blob" |
| 440 | " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)" |
| 441 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -348,11 +348,11 @@ | |
| 348 | ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN |
| 349 | ** |
| 350 | ** Remove the tag TAGNAME from CHECK-IN, and also remove |
| 351 | ** the propagation of the tag to any descendants. |
| 352 | ** |
| 353 | ** %fossil tag find ?--raw? ?-t|--type TYPE? TAGNAME |
| 354 | ** |
| 355 | ** List all objects that use TAGNAME. TYPE can be "ci" for |
| 356 | ** checkins or "e" for events. |
| 357 | ** |
| 358 | ** %fossil tag list ?--raw? ?CHECK-IN? |
| @@ -430,11 +430,11 @@ | |
| 430 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 431 | Stmt q; |
| 432 | const char *zType = find_option("type","t",1); |
| 433 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| 434 | if( g.argc!=4 ){ |
| 435 | usage("find ?--raw? ?-t|--type TYPE? TAGNAME"); |
| 436 | } |
| 437 | if( fRaw ){ |
| 438 | db_prepare(&q, |
| 439 | "SELECT blob.uuid FROM tagxref, blob" |
| 440 | " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)" |
| 441 |
+2
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1555,11 +1555,11 @@ | ||
| 1555 | 1555 | } |
| 1556 | 1556 | |
| 1557 | 1557 | /* |
| 1558 | 1558 | ** COMMAND: timeline |
| 1559 | 1559 | ** |
| 1560 | -** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n N? ?-t TYPE? ?-showfiles? | |
| 1560 | +** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE? ?-showfiles? | |
| 1561 | 1561 | ** |
| 1562 | 1562 | ** Print a summary of activity going backwards in date and time |
| 1563 | 1563 | ** specified or from the current date and time if no arguments |
| 1564 | 1564 | ** are given. Show as many as N (default 20) check-ins. The |
| 1565 | 1565 | ** WHEN argument can be any unique abbreviation of one of these |
| @@ -1620,11 +1620,11 @@ | ||
| 1620 | 1620 | }else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){ |
| 1621 | 1621 | mode = 4; |
| 1622 | 1622 | }else if( strncmp(g.argv[2],"parents",k)==0 ){ |
| 1623 | 1623 | mode = 4; |
| 1624 | 1624 | }else if(!zType && !zCount){ |
| 1625 | - usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t TYPE?"); | |
| 1625 | + usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE?"); | |
| 1626 | 1626 | } |
| 1627 | 1627 | if( '-' != *g.argv[3] ){ |
| 1628 | 1628 | zOrigin = g.argv[3]; |
| 1629 | 1629 | }else{ |
| 1630 | 1630 | zOrigin = "now"; |
| 1631 | 1631 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1555,11 +1555,11 @@ | |
| 1555 | } |
| 1556 | |
| 1557 | /* |
| 1558 | ** COMMAND: timeline |
| 1559 | ** |
| 1560 | ** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n N? ?-t TYPE? ?-showfiles? |
| 1561 | ** |
| 1562 | ** Print a summary of activity going backwards in date and time |
| 1563 | ** specified or from the current date and time if no arguments |
| 1564 | ** are given. Show as many as N (default 20) check-ins. The |
| 1565 | ** WHEN argument can be any unique abbreviation of one of these |
| @@ -1620,11 +1620,11 @@ | |
| 1620 | }else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){ |
| 1621 | mode = 4; |
| 1622 | }else if( strncmp(g.argv[2],"parents",k)==0 ){ |
| 1623 | mode = 4; |
| 1624 | }else if(!zType && !zCount){ |
| 1625 | usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t TYPE?"); |
| 1626 | } |
| 1627 | if( '-' != *g.argv[3] ){ |
| 1628 | zOrigin = g.argv[3]; |
| 1629 | }else{ |
| 1630 | zOrigin = "now"; |
| 1631 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1555,11 +1555,11 @@ | |
| 1555 | } |
| 1556 | |
| 1557 | /* |
| 1558 | ** COMMAND: timeline |
| 1559 | ** |
| 1560 | ** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE? ?-showfiles? |
| 1561 | ** |
| 1562 | ** Print a summary of activity going backwards in date and time |
| 1563 | ** specified or from the current date and time if no arguments |
| 1564 | ** are given. Show as many as N (default 20) check-ins. The |
| 1565 | ** WHEN argument can be any unique abbreviation of one of these |
| @@ -1620,11 +1620,11 @@ | |
| 1620 | }else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){ |
| 1621 | mode = 4; |
| 1622 | }else if( strncmp(g.argv[2],"parents",k)==0 ){ |
| 1623 | mode = 4; |
| 1624 | }else if(!zType && !zCount){ |
| 1625 | usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE?"); |
| 1626 | } |
| 1627 | if( '-' != *g.argv[3] ){ |
| 1628 | zOrigin = g.argv[3]; |
| 1629 | }else{ |
| 1630 | zOrigin = "now"; |
| 1631 |