mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
minor fix: sys.argv length
This commit is contained in:
parent
53a3f00389
commit
aa7f056d02
1 changed files with 1 additions and 1 deletions
2
electrum
2
electrum
|
@ -364,7 +364,7 @@ if __name__ == '__main__':
|
|||
sys.argv = filter(lambda x: not x.startswith('-psn'), sys.argv)
|
||||
|
||||
# old 'help' syntax
|
||||
if sys.argv[1] == 'help':
|
||||
if len(sys.argv)>1 and sys.argv[1] == 'help':
|
||||
sys.argv.remove('help')
|
||||
sys.argv.append('-h')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue