Skip to content

Commit

Permalink
Clarify version info in --help output
Browse files Browse the repository at this point in the history
  • Loading branch information
kpushkaryov committed Jan 16, 2024
1 parent 5104758 commit 337de14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pleskdistup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def read_resume_data(resume_path: PathType) -> ResumeData:
The utility writes a log to the file specified by --logfile. If there are any issues, you can find more information in the log file.
Utility version is {util_revision}.
Plesk dist-upgrader version {pleskdistup_revision}.
"""


Expand All @@ -285,7 +285,7 @@ def main():

parser = argparse.ArgumentParser(
description=DESC_MESSAGE.format(
util_revision=pleskdistup.config.revision,
pleskdistup_revision=pleskdistup.config.revision,
),
formatter_class=ArgumentDefaultsRawDescriptionHelpFormatter,
add_help=False,
Expand Down

0 comments on commit 337de14

Please sign in to comment.