From cf7341fe2c623fb1ed111a6cf82231bc789c2392 Mon Sep 17 00:00:00 2001 From: Jonathan Dunn Date: Fri, 2 Feb 2024 10:19:12 -0500 Subject: [PATCH] fixed --update --- client/fabric | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/fabric b/client/fabric index c679d48..d688490 100755 --- a/client/fabric +++ b/client/fabric @@ -21,7 +21,8 @@ if __name__ == "__main__": '--stream', '-s', help='Use this option if you are piping output to another app. The output will not be streamed', action='store_true') parser.add_argument( '--list', '-l', help='List available patterns', action='store_true') - parser.add_argument('--update', '-u', help='Update patterns') + parser.add_argument( + '--update', '-u', help='Update patterns', action='store_true') parser.add_argument('--pattern', '-p', help='The pattern (prompt) to use') parser.add_argument('--apikey', '-a', help='Add an OpenAI key') @@ -45,7 +46,6 @@ if __name__ == "__main__": if args.update: Update() print('patterns updated:') - print(os.listdir(config_patterns_directory)) sys.exit() standalone = Standalone(args, args.pattern) if args.list: