update help message
This commit is contained in:
parent
a9341594ad
commit
3af893b165
1 changed files with 2 additions and 3 deletions
5
build.py
5
build.py
|
|
@ -36,7 +36,6 @@ if options.distro == 'autodetect':
|
||||||
options.distro = 'rpm'
|
options.distro = 'rpm'
|
||||||
if os.path.isdir('/etc/apt'):
|
if os.path.isdir('/etc/apt'):
|
||||||
options.distro = 'deb'
|
options.distro = 'deb'
|
||||||
print('[debug]: autoselected --distro {}'.format(options.distro))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -538,7 +537,7 @@ def main():
|
||||||
script_exit(1)
|
script_exit(1)
|
||||||
else:
|
else:
|
||||||
# Print help message
|
# Print help message
|
||||||
print(help_message)
|
print(help_message.format(options.distro))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -560,7 +559,7 @@ help_message = """# Use:
|
||||||
-x,--cross - crosscompile from linux, implies -t win
|
-x,--cross - crosscompile from linux, implies -t win
|
||||||
-s,--src <src> - release,nightly,tor-browser
|
-s,--src <src> - release,nightly,tor-browser
|
||||||
(default=release)
|
(default=release)
|
||||||
-t,--distro <distro> - deb,rpm,win (default=win)
|
-t,--distro <distro> - deb,rpm,win,osx (default={})
|
||||||
-T,--token <private_token> - private token used to upload to gitlab.com
|
-T,--token <private_token> - private token used to upload to gitlab.com
|
||||||
|
|
||||||
# Targets:
|
# Targets:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue