diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-09-04 13:32:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-09-04 12:46:42 +0200 |
commit | 728d56aa05f834855b0c97e7d1b3664ef60c86de (patch) | |
tree | e1cde50e2634cfbd96f17e7fcc4a2d0f9675585b | |
parent | 928d675270622ca6010317cc2fb81ed18e9f164a (diff) |
Don't use just the basename in the usage help message
That is counter-productive. Use the command name as used by the user
to run the script.
Change-Id: I11b082375db8d8184543cead912cbc556f3695e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102041
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rwxr-xr-x | scripts/unocommands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/unocommands.py b/scripts/unocommands.py index fe5ebd6b7..0e09d231e 100755 --- a/scripts/unocommands.py +++ b/scripts/unocommands.py @@ -36,7 +36,7 @@ Update the translations of unocommands.js before releasing: {program} --translate /path/to/online /path/to/translations """ - print(message.format(program = os.path.basename(sys.argv[0]))) + print(message.format(program = sys.argv[0])) exit(1) # Extract uno commands name from lines like " 'Command1', 'Command2'," |