2
0
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:
Jarrod Johnson
2026-08-13 16:34:22 -04:00
parent f7815bd7cf
commit 8fe87bf0eb
+1 -1
View File
@@ -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)