mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 07:26:04 +00:00
Fix getfetchable hidden argument
This commit is contained in:
@@ -66,7 +66,7 @@ async def main(args):
|
||||
osls = sp.add_parser('list', help='List OS images available for deployment')
|
||||
ubp = sp.add_parser('rebase', help='Update stock profile content from packaged updates')
|
||||
ubp.add_argument('profile', help='Profile to rebase from packaged content')
|
||||
if len(sys.argv) > 2 and sys.argv[1] == 'getfetchable': # for bash completion
|
||||
if len(sys.argv) >= 2 and sys.argv[1] == 'getfetchable': # for bash completion
|
||||
distlist = download.list_fetchable_distributions()
|
||||
print (' '.join(distlist))
|
||||
sys.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user