Skip to content

Commit

Permalink
cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
duzp111 committed Jul 8, 2024
1 parent f629541 commit 0fcbef9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions diag_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@ class ObdiagGatherTableDumpHandler(ObdiagOriginCommand):

def __init__(self):
super(ObdiagGatherTableDumpHandler, self).__init__('tabledump', 'gather tabledump')
self.parser.add_option('--database', type='string', help="Specifies the name of the database to connect to.")
self.parser.add_option('--table', type='string', help="Specifies the name of the table in the database to operate on.")
self.parser.add_option('--user', type='string', help="The username to use for the database connection.")
self.parser.add_option('--database', type='string', help="Specifies the name of the database to connect to.")
self.parser.add_option('--table', type='string', help="Specifies the name of the table in the database to operate on.")
self.parser.add_option('--user', type='string', help="The username to use for the database connection.")
self.parser.add_option('--password', type='string', help="The password for the database user. If not specified, an attempt will be made to connect without a password.", default='')

self.parser.add_option('-c', type='string', help='obdiag custom config', default=os.path.expanduser('~/.obdiag/config.yml'))
Expand Down

0 comments on commit 0fcbef9

Please sign in to comment.