scripts/unocommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 728d56aa05f834855b0c97e7d1b3664ef60c86de Author: Tor Lillqvist <[email protected]> AuthorDate: Fri Sep 4 13:32:09 2020 +0300 Commit: Tor Lillqvist <[email protected]> CommitDate: Fri Sep 4 12:46:42 2020 +0200 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 <[email protected]> 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'," _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
