Fossil SCM

Added "contact" to the list of sub-commands in "fossil user" short help output. (It was only described in the full help.)

wyoung 2021-02-08 06:54 trunk
Commit 652e85cb36276906cac1f15576a37ede5d1a5050048c230927f53faab9656fbc
1 file changed +1 -1
+1 -1
--- src/user.c
+++ src/user.c
@@ -363,11 +363,11 @@
363363
*/
364364
void user_cmd(void){
365365
int n;
366366
db_find_and_open_repository(0, 0);
367367
if( g.argc<3 ){
368
- usage("capabilities|default|list|new|password ...");
368
+ usage("capabilities|contact|default|list|new|password ...");
369369
}
370370
n = strlen(g.argv[2]);
371371
if( n>=2 && strncmp(g.argv[2],"new",n)==0 ){
372372
Blob passwd, login, caps, contact;
373373
char *zPw;
374374
--- src/user.c
+++ src/user.c
@@ -363,11 +363,11 @@
363 */
364 void user_cmd(void){
365 int n;
366 db_find_and_open_repository(0, 0);
367 if( g.argc<3 ){
368 usage("capabilities|default|list|new|password ...");
369 }
370 n = strlen(g.argv[2]);
371 if( n>=2 && strncmp(g.argv[2],"new",n)==0 ){
372 Blob passwd, login, caps, contact;
373 char *zPw;
374
--- src/user.c
+++ src/user.c
@@ -363,11 +363,11 @@
363 */
364 void user_cmd(void){
365 int n;
366 db_find_and_open_repository(0, 0);
367 if( g.argc<3 ){
368 usage("capabilities|contact|default|list|new|password ...");
369 }
370 n = strlen(g.argv[2]);
371 if( n>=2 && strncmp(g.argv[2],"new",n)==0 ){
372 Blob passwd, login, caps, contact;
373 char *zPw;
374

Keyboard Shortcuts

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