File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " rda_python_common"
7- version = " 2.0.3 "
7+ version = " 2.0.4 "
88authors = [
99 {
name =
" Zaihua Ji" ,
email =
" [email protected] " },
1010]
Original file line number Diff line number Diff line change 22#
33##################################################################################
44#
5- # Title: pgpassword
5+ # Title: pg_password
66# Author: Zaihua Ji, [email protected] 77# Date: 2025-10-27
88# Purpose: python script to retrieve passwords for postgrsql login to connect a
@@ -66,8 +66,8 @@ def main():
6666 PgLOG .pglog (arg + ": Value provided without option" , PgLOG .LGEREX )
6767
6868 if dohelp :
69- print ("Usage: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\ " )
70- print (" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]" )
69+ print ("Usage: pg_password [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\ " )
70+ print (" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]" )
7171 print (" -l OpenBao URL to retrieve passwords" )
7272 print (" -k OpenBao Token Name to retrieve passwords" )
7373 print (" -d PostgreSQL Database Name" )
Original file line number Diff line number Diff line change 22#
33##################################################################################
44#
5- # Title: pg_pass
5+ # Title: pgpassword
66# Author: Zaihua Ji, [email protected] 77# Date: 2025-10-27
88# 2025-12-02 convert to class PgPassword
@@ -60,8 +60,8 @@ def read_parameters(self):
6060 else :
6161 self .pglog (arg + ": Value provided without option" , self .LGEREX )
6262 if dohelp :
63- print ("Usage: pg_pass [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\ " )
64- print (" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]" )
63+ print ("Usage: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\ " )
64+ print (" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]" )
6565 print (" -l OpenBao URL to retrieve passwords" )
6666 print (" -k OpenBao Token Name to retrieve passwords" )
6767 print (" -d PostgreSQL Database Name" )
You can’t perform that action at this time.
0 commit comments