Fossil SCM

Clarify the documentation for the operation of the "info" command. Ticket [74cfdb438a246e46]

drh 2011-02-25 01:13 trunk
Commit 828bf98aff7509219c7983815dc8d567eb5e2eb8
1 file changed +4 -1
+4 -1
--- src/info.c
+++ src/info.c
@@ -121,17 +121,20 @@
121121
122122
123123
/*
124124
** COMMAND: info
125125
**
126
-** Usage: %fossil info ?ARTIFACT-ID|FILENAME?
126
+** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME?
127127
**
128128
** With no arguments, provide information about the current tree.
129129
** If an argument is specified, provide information about the object
130130
** in the respository of the current tree that the argument refers
131131
** to. Or if the argument is the name of a repository, show
132132
** information about that repository.
133
+**
134
+** Use the "finfo" command to get information about a specific
135
+** file in a checkout.
133136
*/
134137
void info_cmd(void){
135138
i64 fsize;
136139
if( g.argc!=2 && g.argc!=3 ){
137140
usage("?FILENAME|ARTIFACT-ID?");
138141
--- src/info.c
+++ src/info.c
@@ -121,17 +121,20 @@
121
122
123 /*
124 ** COMMAND: info
125 **
126 ** Usage: %fossil info ?ARTIFACT-ID|FILENAME?
127 **
128 ** With no arguments, provide information about the current tree.
129 ** If an argument is specified, provide information about the object
130 ** in the respository of the current tree that the argument refers
131 ** to. Or if the argument is the name of a repository, show
132 ** information about that repository.
 
 
 
133 */
134 void info_cmd(void){
135 i64 fsize;
136 if( g.argc!=2 && g.argc!=3 ){
137 usage("?FILENAME|ARTIFACT-ID?");
138
--- src/info.c
+++ src/info.c
@@ -121,17 +121,20 @@
121
122
123 /*
124 ** COMMAND: info
125 **
126 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME?
127 **
128 ** With no arguments, provide information about the current tree.
129 ** If an argument is specified, provide information about the object
130 ** in the respository of the current tree that the argument refers
131 ** to. Or if the argument is the name of a repository, show
132 ** information about that repository.
133 **
134 ** Use the "finfo" command to get information about a specific
135 ** file in a checkout.
136 */
137 void info_cmd(void){
138 i64 fsize;
139 if( g.argc!=2 && g.argc!=3 ){
140 usage("?FILENAME|ARTIFACT-ID?");
141

Keyboard Shortcuts

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