mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-20 16:47:12 +00:00
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>
This commit is contained in:
@ -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',"
|
||||
|
Reference in New Issue
Block a user