Fossil SCM

Correct reparent usage information

andy 2017-04-13 20:42 trunk
Commit 07783301bdf772156d4dfb070f8427c4cbd065c10167022d1b6e0a2870eb5455
1 file changed +2 -2
+2 -2
--- src/tag.c
+++ src/tag.c
@@ -587,11 +587,11 @@
587587
}
588588
589589
/*
590590
** COMMAND: reparent*
591591
**
592
-** Usage: %fossil reparent [OPTIONS] CHECK-IN PARENT ....
592
+** Usage: %fossil reparent [OPTIONS] CHECK-IN PARENT ...
593593
**
594594
** Create a "parent" tag that causes CHECK-IN to be interpreted as a
595595
** child of PARENT. If multiple PARENTs are listed, then the first is
596596
** the primary parent and others are merge ancestors.
597597
**
@@ -619,11 +619,11 @@
619619
620620
if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
621621
db_find_and_open_repository(0, 0);
622622
verify_all_options();
623623
if( g.argc<4 ){
624
- usage("reparent [OPTIONS] PARENT ...");
624
+ usage("[OPTIONS] CHECK-IN PARENT ...");
625625
}
626626
rid = name_to_typed_rid(g.argv[2], "ci");
627627
blob_init(&value, 0, 0);
628628
for(i=3; i<g.argc; i++){
629629
int pid = name_to_typed_rid(g.argv[i], "ci");
630630
--- src/tag.c
+++ src/tag.c
@@ -587,11 +587,11 @@
587 }
588
589 /*
590 ** COMMAND: reparent*
591 **
592 ** Usage: %fossil reparent [OPTIONS] CHECK-IN PARENT ....
593 **
594 ** Create a "parent" tag that causes CHECK-IN to be interpreted as a
595 ** child of PARENT. If multiple PARENTs are listed, then the first is
596 ** the primary parent and others are merge ancestors.
597 **
@@ -619,11 +619,11 @@
619
620 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
621 db_find_and_open_repository(0, 0);
622 verify_all_options();
623 if( g.argc<4 ){
624 usage("reparent [OPTIONS] PARENT ...");
625 }
626 rid = name_to_typed_rid(g.argv[2], "ci");
627 blob_init(&value, 0, 0);
628 for(i=3; i<g.argc; i++){
629 int pid = name_to_typed_rid(g.argv[i], "ci");
630
--- src/tag.c
+++ src/tag.c
@@ -587,11 +587,11 @@
587 }
588
589 /*
590 ** COMMAND: reparent*
591 **
592 ** Usage: %fossil reparent [OPTIONS] CHECK-IN PARENT ...
593 **
594 ** Create a "parent" tag that causes CHECK-IN to be interpreted as a
595 ** child of PARENT. If multiple PARENTs are listed, then the first is
596 ** the primary parent and others are merge ancestors.
597 **
@@ -619,11 +619,11 @@
619
620 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
621 db_find_and_open_repository(0, 0);
622 verify_all_options();
623 if( g.argc<4 ){
624 usage("[OPTIONS] CHECK-IN PARENT ...");
625 }
626 rid = name_to_typed_rid(g.argv[2], "ci");
627 blob_init(&value, 0, 0);
628 for(i=3; i<g.argc; i++){
629 int pid = name_to_typed_rid(g.argv[i], "ci");
630

Keyboard Shortcuts

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