mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
Alphabetically sort patterns list
Ensures that when the users lists the available patterns, they are presented in alphabetical order. Helps find the desired pattern faster.
This commit is contained in:
parent
92f8e08aac
commit
e5901b9f44
@ -78,7 +78,7 @@ def main():
|
||||
standalone = Standalone(args, args.pattern)
|
||||
if args.list:
|
||||
try:
|
||||
direct = os.listdir(config_patterns_directory)
|
||||
direct = sorted(os.listdir(config_patterns_directory))
|
||||
for d in direct:
|
||||
print(d)
|
||||
sys.exit()
|
||||
|
Loading…
Reference in New Issue
Block a user