Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rda_python_common"
version = "2.0.3"
version = "2.0.4"
authors = [
{ name="Zaihua Ji", email="[email protected]" },
]
Expand Down
6 changes: 3 additions & 3 deletions src/rda_python_common/pg_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
##################################################################################
#
# Title: pgpassword
# Title: pg_password
# Author: Zaihua Ji, [email protected]
# Date: 2025-10-27
# Purpose: python script to retrieve passwords for postgrsql login to connect a
Expand Down Expand Up @@ -66,8 +66,8 @@ def main():
PgLOG.pglog(arg + ": Value provided without option", PgLOG.LGEREX)

if dohelp:
print("Usage: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
print("Usage: pg_password [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
print(" -l OpenBao URL to retrieve passwords")
print(" -k OpenBao Token Name to retrieve passwords")
print(" -d PostgreSQL Database Name")
Expand Down
6 changes: 3 additions & 3 deletions src/rda_python_common/pgpassword.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
##################################################################################
#
# Title: pg_pass
# Title: pgpassword
# Author: Zaihua Ji, [email protected]
# Date: 2025-10-27
# 2025-12-02 convert to class PgPassword
Expand Down Expand Up @@ -60,8 +60,8 @@ def read_parameters(self):
else:
self.pglog(arg + ": Value provided without option", self.LGEREX)
if dohelp:
print("Usage: pg_pass [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
print("Usage: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
print(" -l OpenBao URL to retrieve passwords")
print(" -k OpenBao Token Name to retrieve passwords")
print(" -d PostgreSQL Database Name")
Expand Down