Fossil SCM

Change the name of the option to just --save-password.

drh 2019-06-29 03:11 save-http-url-password
Commit 76e158ad57ac84e4f47c48ffbfe4e1e12bc4670a81fd3bdc34510d4a4364d7d6
1 file changed +2 -2
+2 -2
--- src/clone.c
+++ src/clone.c
@@ -109,11 +109,11 @@
109109
** admin user. This can be overridden using the -A|--admin-user
110110
** parameter.
111111
**
112112
** Options:
113113
** --admin-user|-A USERNAME Make USERNAME the administrator
114
-** --save-http-url-password Save password without asking if given via HTTP[S] URL
114
+** --save-password Remember the password without asking
115115
** --nocompress Omit extra delta compression
116116
** --once Don't remember the URI.
117117
** --private Also clone private branches
118118
** --ssl-identity FILENAME Use the SSL identity if requested by the server
119119
** --ssh-command|-c SSH Use SSH as the "ssh" command
@@ -133,11 +133,11 @@
133133
int noCompress = find_option("nocompress",0,0)!=0;
134134
135135
/* Also clone private branches */
136136
if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE;
137137
if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER;
138
- if( find_option("save-http-url-password",0,0)!=0 ){
138
+ if( find_option("save-password",0,0)!=0 ){
139139
urlFlags &= ~URL_PROMPT_PW;
140140
urlFlags |= URL_REMEMBER_PW;
141141
}
142142
if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE;
143143
if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED;
144144
--- src/clone.c
+++ src/clone.c
@@ -109,11 +109,11 @@
109 ** admin user. This can be overridden using the -A|--admin-user
110 ** parameter.
111 **
112 ** Options:
113 ** --admin-user|-A USERNAME Make USERNAME the administrator
114 ** --save-http-url-password Save password without asking if given via HTTP[S] URL
115 ** --nocompress Omit extra delta compression
116 ** --once Don't remember the URI.
117 ** --private Also clone private branches
118 ** --ssl-identity FILENAME Use the SSL identity if requested by the server
119 ** --ssh-command|-c SSH Use SSH as the "ssh" command
@@ -133,11 +133,11 @@
133 int noCompress = find_option("nocompress",0,0)!=0;
134
135 /* Also clone private branches */
136 if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE;
137 if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER;
138 if( find_option("save-http-url-password",0,0)!=0 ){
139 urlFlags &= ~URL_PROMPT_PW;
140 urlFlags |= URL_REMEMBER_PW;
141 }
142 if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE;
143 if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED;
144
--- src/clone.c
+++ src/clone.c
@@ -109,11 +109,11 @@
109 ** admin user. This can be overridden using the -A|--admin-user
110 ** parameter.
111 **
112 ** Options:
113 ** --admin-user|-A USERNAME Make USERNAME the administrator
114 ** --save-password Remember the password without asking
115 ** --nocompress Omit extra delta compression
116 ** --once Don't remember the URI.
117 ** --private Also clone private branches
118 ** --ssl-identity FILENAME Use the SSL identity if requested by the server
119 ** --ssh-command|-c SSH Use SSH as the "ssh" command
@@ -133,11 +133,11 @@
133 int noCompress = find_option("nocompress",0,0)!=0;
134
135 /* Also clone private branches */
136 if( find_option("private",0,0)!=0 ) syncFlags |= SYNC_PRIVATE;
137 if( find_option("once",0,0)!=0) urlFlags &= ~URL_REMEMBER;
138 if( find_option("save-password",0,0)!=0 ){
139 urlFlags &= ~URL_PROMPT_PW;
140 urlFlags |= URL_REMEMBER_PW;
141 }
142 if( find_option("verbose","v",0)!=0) syncFlags |= SYNC_VERBOSE;
143 if( find_option("unversioned","u",0)!=0 ) syncFlags |= SYNC_UNVERSIONED;
144

Keyboard Shortcuts

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