瀏覽代碼

db.login manual: cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58822 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 年之前
父節點
當前提交
3bda60186e
共有 1 個文件被更改,包括 10 次插入7 次删除
  1. 10 7
      db/db.login/db.login.html

+ 10 - 7
db/db.login/db.login.html

@@ -1,7 +1,7 @@
 <h2>DESCRIPTION</h2>
 
-<em>db.login</em> sets user and optionally also password for
-connection to the selected <b>database</b> through DB <b>driver</b>.
+<em>db.login</em> sets the user name and optionally also a password for
+the connection to the selected <b>database</b> through the DB <b>driver</b>.
 
 <h2>NOTE</h2>
 
@@ -14,24 +14,27 @@ file.
 
 <h2>EXAMPLES</h2>
 
-Username specified only:
+Only username specified (password will be interactively queried
+to remain invisible):
 
 <div class="code"><pre>
 db.login user=bacava
 </pre></div>
 
-<p>Username and password specified (note that the command
+<p>
+Username and password specified (note that the command
 lines history will store the password in this way):
 
 <div class="code"><pre>
-db.login user=bacava pass=secret
+db.login user=bacava password=secret
 </pre></div>
 
-<p>Username and empty password specified (note that the command
+<p>
+Username and empty password specified (note that the command
 lines history will store the password in this way):
 
 <div class="code"><pre>
-db.login user=bacava pass=""
+db.login user=bacava password=""
 </pre></div>
 
 <h2>SEE ALSO</h2>