Fossil SCM

A bullet point I forgot two checkins ago: * Document ALL supported options for the given commands. Checkin #2/n.

martin.weber 2011-09-14 00:39 msw-docco
Commit 25d023f3a469f69b4825974a10a75abc225cede1
1 file changed +6 -2
+6 -2
--- src/db.c
+++ src/db.c
@@ -1642,19 +1642,23 @@
16421642
}
16431643
16441644
/*
16451645
** COMMAND: open
16461646
**
1647
-** Usage: %fossil open FILENAME ?VERSION? ?--keep? ?--nested?
1647
+** Usage: %fossil open FILENAME ?VERSION? ?OPTIONS?
16481648
**
16491649
** Open a connection to the local repository in FILENAME. A checkout
16501650
** for the repository is created with its root at the working directory.
16511651
** If VERSION is specified then that version is checked out. Otherwise
16521652
** the latest version is checked out. No files other than "manifest"
16531653
** and "manifest.uuid" are modified if the --keep option is present.
16541654
**
1655
-** See also the "close" command.
1655
+** Options:
1656
+** --keep Only modify the manifest and manifest.uuid files
1657
+** --nested Allow opening a repository inside an opened checkout
1658
+**
1659
+** See also: close
16561660
*/
16571661
void cmd_open(void){
16581662
Blob path;
16591663
int vid;
16601664
int keepFlag;
16611665
--- src/db.c
+++ src/db.c
@@ -1642,19 +1642,23 @@
1642 }
1643
1644 /*
1645 ** COMMAND: open
1646 **
1647 ** Usage: %fossil open FILENAME ?VERSION? ?--keep? ?--nested?
1648 **
1649 ** Open a connection to the local repository in FILENAME. A checkout
1650 ** for the repository is created with its root at the working directory.
1651 ** If VERSION is specified then that version is checked out. Otherwise
1652 ** the latest version is checked out. No files other than "manifest"
1653 ** and "manifest.uuid" are modified if the --keep option is present.
1654 **
1655 ** See also the "close" command.
 
 
 
 
1656 */
1657 void cmd_open(void){
1658 Blob path;
1659 int vid;
1660 int keepFlag;
1661
--- src/db.c
+++ src/db.c
@@ -1642,19 +1642,23 @@
1642 }
1643
1644 /*
1645 ** COMMAND: open
1646 **
1647 ** Usage: %fossil open FILENAME ?VERSION? ?OPTIONS?
1648 **
1649 ** Open a connection to the local repository in FILENAME. A checkout
1650 ** for the repository is created with its root at the working directory.
1651 ** If VERSION is specified then that version is checked out. Otherwise
1652 ** the latest version is checked out. No files other than "manifest"
1653 ** and "manifest.uuid" are modified if the --keep option is present.
1654 **
1655 ** Options:
1656 ** --keep Only modify the manifest and manifest.uuid files
1657 ** --nested Allow opening a repository inside an opened checkout
1658 **
1659 ** See also: close
1660 */
1661 void cmd_open(void){
1662 Blob path;
1663 int vid;
1664 int keepFlag;
1665

Keyboard Shortcuts

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